diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1aaf194d4d1e..88d2642fd8c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -194,7 +194,7 @@ jobs: # See issue https://github.com/rust-lang/rust/issues/137733 for more details. - name: Remove Windows SDK 10.0.26100.0 shell: powershell - if: ${{ matrix.name == 'i686-msvc-1' || matrix.name == 'i686-msvc-2' || matrix.name == 'dist-i686-msvc' }} + if: ${{ matrix.image == 'i686-msvc' || matrix.image == 'dist-i686-msvc' }} run: | $kits = (Get-ItemProperty -path 'HKLM:\SOFTWARE\Microsoft\Windows Kits\Installed Roots').KitsRoot10 $sdk_version = "10.0.26100.0"