Use matrix.image, and i686-msvc isn't split here

This commit is contained in:
Josh Stone 2025-03-14 18:27:50 -07:00
parent 3c37eba27c
commit 0e8fd2dbef

View file

@ -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"