We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ddcd82 commit b06d8b7Copy full SHA for b06d8b7
.github/workflows/CI.yml
@@ -42,6 +42,12 @@ jobs:
42
runs-on: '${{ matrix.settings.host }}'
43
steps:
44
- uses: actions/checkout@v4
45
+ - name: Print Visual Studio version
46
+ run: |
47
+ # Use vswhere to locate the Visual Studio installation and print the version
48
+ & "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -format json | ConvertFrom-Json | Select-Object -ExpandProperty catalog | Select-Object -ExpandProperty productDisplayVersion
49
+ if: matrix.settings.host == 'windows-latest'
50
+ shell: cmd
51
- name: Restore Builds
52
id: cache-build-restore
53
uses: actions/cache/restore@v4
0 commit comments