3030
3131 steps :
3232 - name : Checkout vcpkg
33- uses : actions/checkout@v4
33+ uses : actions/checkout@v7
3434 with :
3535 repository : microsoft/vcpkg
3636 path : vcpkg
5757 -Source "${{ env.FEED_URL }}"
5858
5959 - name : Checkout libprojectM
60- uses : actions/checkout@v4
60+ uses : actions/checkout@v7
6161 with :
6262 submodules : ' recursive'
6363
8484 $runtime = ""
8585 $triplet = $triplet + "-static"
8686 }
87+ if("${{ matrix.runs-on }}" -eq "windows-2022") {
88+ $generator = "Visual Studio 17 2022"
89+ } else {
90+ $generator = "Visual Studio 18 2026"
91+ }
8792
88- cmake -G "Visual Studio 17 2022 " `
93+ cmake -G "$($generator) " `
8994 -A "${{ matrix.arch }}" `
9095 -S "${{ github.workspace }}" `
9196 -B "${{ github.workspace }}/cmake-build" `
@@ -132,8 +137,13 @@ jobs:
132137 $runtime = ""
133138 $triplet = $triplet + "-static"
134139 }
140+ if("${{ matrix.runs-on }}" -eq "windows-2022") {
141+ $generator = "Visual Studio 17 2022"
142+ } else {
143+ $generator = "Visual Studio 18 2026"
144+ }
135145
136- cmake -G "Visual Studio 17 2022 " `
146+ cmake -G "$($generator) " `
137147 -A "${{ matrix.arch }}" `
138148 -S "${{ github.workspace }}/tests/cxx-interface" `
139149 -B "${{ github.workspace }}/cmake-build-cxx-api" `
@@ -148,7 +158,7 @@ jobs:
148158 cmake --build "${{ github.workspace }}/cmake-build-cxx-api" --config "Release"
149159
150160 - name : Upload Artifact
151- uses : actions/upload-artifact@v4
161+ uses : actions/upload-artifact@v7
152162 with :
153163 name : projectm-windows-${{ matrix.libs }}-${{ matrix.fslib }}-${{ matrix.arch }}-${{ matrix.runs-on }}
154164 path : install/*
0 commit comments