File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -24,21 +24,18 @@ jobs:
24
24
runs-on : ${{ matrix.os }}
25
25
strategy :
26
26
matrix :
27
- os : [windows-2019 ] # Should have MSBuild.
27
+ os : [windows-latest ] # Should have MSBuild.
28
28
steps :
29
29
# Make MSBuild available from $PATH.
30
30
- name : setup-msbuild
31
- uses : microsoft/setup-msbuild@v1.1
31
+ uses : microsoft/setup-msbuild@v2
32
32
33
33
- name : Checkout Code
34
- uses : actions/checkout@v3
35
-
36
- - name : Restore Packages
37
- run : msbuild -t:restore
34
+ uses : actions/checkout@v4
38
35
39
36
# msbuild cannot handle .vdproj Installer projects, so only build debug for now.
40
37
- name : Build solution
41
- run : msbuild $env:SLN_FILE - p:Configuration=Debug
38
+ run : msbuild -t:build -restore - p:Configuration=Debug $env:SLN_FILE
42
39
43
40
# For now, let msbuild continue autogenerating assembly versions and base everything off of that.
44
41
- name : Get AssemblyVersion generated by msbuild
48
45
directory : ${{ env.DEBUG_OUTPUT }}
49
46
50
47
- name : Upload Artifact
51
- uses : actions/upload-artifact@v3
48
+ uses : actions/upload-artifact@v4
52
49
with :
53
50
name : ${{ format('WinNUT-Client-debugbuild-v{0}', steps.getversion.outputs.version) }}
54
51
if-no-files-found : error
You can’t perform that action at this time.
0 commit comments