diff --git a/.github/workflows/build-and-test-windows.yml b/.github/workflows/build-and-test-windows.yml index 5630b203f9a7..b2f4a925a55f 100644 --- a/.github/workflows/build-and-test-windows.yml +++ b/.github/workflows/build-and-test-windows.yml @@ -42,8 +42,9 @@ jobs: - if: matrix.group == 'receiver-0' name: install IIS run: Install-WindowsFeature -name Web-Server -IncludeManagementTools - - name: List Windows services before Install - run: Get-Service | Sort DisplayName | fl + - name: List Windows services BEFORE Install + run: sc.exe query type= service + continue-on-error: true - if: matrix.group == 'receiver-0' name: Install Active Directory DS run: Install-WindowsFeature -name AD-Domain-Services -IncludeManagementTools @@ -51,8 +52,9 @@ jobs: with: go-version: ~1.20.8 cache: false - - name: List Windows services after Install - run: Get-Service | Sort DisplayName | fl + - name: List Windows services AFTER Install + run: sc.exe query type= service + continue-on-error: true - name: Cache Go id: go-mod-cache timeout-minutes: 15