@@ -22,19 +22,19 @@ jobs:
2222 # This workflow contains a single job called "build"
2323 windows_build :
2424 # The type of runner that the job will run on
25- runs-on : windows-2019
25+ runs-on : windows-2022
2626 if : ${{ !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') }}
2727
2828 strategy :
2929 matrix :
3030 include :
31- - VS_VERSION : Visual Studio 16
32- VS_VER : 2019
33- MSVC_VER : 1920
31+ - VS_VERSION : Visual Studio 17
32+ VS_VER : 2022
33+ MSVC_VER : 1930
3434 platform : x64
35- - VS_VERSION : Visual Studio 16
36- VS_VER : 2019
37- MSVC_VER : 1920
35+ - VS_VERSION : Visual Studio 17
36+ VS_VER : 2022
37+ MSVC_VER : 1930
3838 platform : x86
3939
4040 env :
4949
5050 steps :
5151 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
52- - uses : actions/checkout@v3
52+ - uses : actions/checkout@v4
5353
5454 # Set environment
5555 - name : Set environment
@@ -75,13 +75,13 @@ jobs:
7575 - name : Set compiler environment
7676 shell : cmd
7777 run : |
78- if "%VS_VER%" == "2019 " CALL "C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\Common7\Tools\VsDevCmd.bat" -arch=%ARCHITECTURE%
78+ if "%VS_VER%" == "2022 " CALL "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\Common7\Tools\VsDevCmd.bat" -arch=%ARCHITECTURE%
7979 echo ::set-env name=PATH::%PATH%
8080 echo ::set-env name=INCLUDE::%INCLUDE%
8181 echo ::set-env name=LIB::%LIB%
8282 echo ::set-env name=LIBPATH::%LIBPATH%
8383
84- - uses : actions/cache@v3
84+ - uses : actions/cache@v4
8585 id : cache
8686 with :
8787 path : |
@@ -113,7 +113,7 @@ jobs:
113113 # install pscx powershell and vSSetup
114114 Install-Module Pscx -AllowClobber
115115 Install-Module VSSetup -Scope CurrentUser
116- if($env:VS_VER -eq "2019 ")
116+ if($env:VS_VER -eq "2022 ")
117117 {
118118 }
119119 else
@@ -238,7 +238,7 @@ jobs:
238238 # install pscx powershell and vSSetup
239239 Install-Module Pscx -AllowClobber
240240 Install-Module VSSetup -Scope CurrentUser
241- if($env:VS_VER -eq "2019 ")
241+ if($env:VS_VER -eq "2022 ")
242242 {
243243 }
244244 else
@@ -268,12 +268,12 @@ jobs:
268268 }
269269 dir
270270
271- - uses : actions/upload-artifact@v3
271+ - uses : actions/upload-artifact@v4
272272 with :
273273 name : GeoDa-Windows-${{ env.platform }}-installer
274274 path : ${{ github.workspace }}\BuildTools\windows\GeoDa_1.22_${{ env.platform }}_Setup.exe
275275
276- - uses : actions/upload-artifact@v3
276+ - uses : actions/upload-artifact@v4
277277 with :
278278 name : GeoDa-Windows7+-${{ env.platform }}-installer
279279 path : ${{ github.workspace }}\BuildTools\windows\GeoDa_1.22_win7+${{ env.platform }}_Setup.exe
0 commit comments