File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -24,21 +24,18 @@ jobs:
2424 runs-on : ${{ matrix.os }}
2525 strategy :
2626 matrix :
27- os : [windows-2019 ] # Should have MSBuild.
27+ os : [windows-latest ] # Should have MSBuild.
2828 steps :
2929 # Make MSBuild available from $PATH.
3030 - name : setup-msbuild
31- uses : microsoft/setup-msbuild@v1.1
31+ uses : microsoft/setup-msbuild@v2
3232
3333 - name : Checkout Code
34- uses : actions/checkout@v3
35-
36- - name : Restore Packages
37- run : msbuild -t:restore
34+ uses : actions/checkout@v4
3835
3936 # msbuild cannot handle .vdproj Installer projects, so only build debug for now.
4037 - name : Build solution
41- run : msbuild $env:SLN_FILE - p:Configuration=Debug
38+ run : msbuild -t:build -restore - p:Configuration=Debug $env:SLN_FILE
4239
4340 # For now, let msbuild continue autogenerating assembly versions and base everything off of that.
4441 - name : Get AssemblyVersion generated by msbuild
4845 directory : ${{ env.DEBUG_OUTPUT }}
4946
5047 - name : Upload Artifact
51- uses : actions/upload-artifact@v3
48+ uses : actions/upload-artifact@v4
5249 with :
5350 name : ${{ format('WinNUT-Client-debugbuild-v{0}', steps.getversion.outputs.version) }}
5451 if-no-files-found : error
You can’t perform that action at this time.
0 commit comments