@@ -25,20 +25,12 @@ jobs:
25
25
26
26
steps :
27
27
- name : Checkout
28
- uses : actions/checkout@v3
28
+ uses : actions/checkout@v4
29
29
with :
30
30
fetch-depth : 0
31
31
32
- - name : Setup Nuget
33
- uses : nuget/setup-nuget@v1
34
- with :
35
- nuget-api-key : ${{ secrets.NuGetAPIKey }}
36
- nuget-version : ' 5.x'
37
-
38
- - run : nuget restore '${{ env.solution }}'
39
-
40
32
- name : Setup MSBuild
41
- uses : microsoft/setup-msbuild@v1.1.3
33
+ uses : microsoft/setup-msbuild@v2
42
34
with :
43
35
vs-version : ' 16.8'
44
36
@@ -66,14 +58,14 @@ jobs:
66
58
move msvc\${{ env.buildRelease }}\mp.pdb publish\debug\mp.pdb
67
59
68
60
- name : Deploy artifacts
69
- uses : actions/upload-artifact@v3.1.1
61
+ uses : actions/upload-artifact@v4
70
62
with :
71
63
name : win32
72
64
path : publish/*
73
65
74
66
testdemos :
75
67
name : ' Test demos'
76
- runs-on : ubuntu-20.04
68
+ runs-on : ubuntu-latest
77
69
container : s1lentq/testdemos:latest
78
70
needs : [windows]
79
71
88
80
89
81
steps :
90
82
- name : Deploying windows artifacts
91
- uses : actions/download-artifact@v3
83
+ uses : actions/download-artifact@v4
92
84
with :
93
85
name : win32
94
86
@@ -140,12 +132,12 @@ jobs:
140
132
141
133
linux :
142
134
name : ' Linux'
143
- runs-on : ubuntu-20 .04
135
+ runs-on : ubuntu-22 .04
144
136
container : s1lentq/linux86buildtools:latest
145
137
146
138
steps :
147
139
- name : Checkout
148
- uses : actions/checkout@v3
140
+ uses : actions/checkout@v4
149
141
with :
150
142
fetch-depth : 0
151
143
submodules : true
@@ -211,7 +203,7 @@ jobs:
211
203
shell : bash
212
204
213
205
- name : Deploy artifacts
214
- uses : actions/upload-artifact@v3.1.1
206
+ uses : actions/upload-artifact@v4
215
207
id : upload-job
216
208
with :
217
209
name : linux32
@@ -225,17 +217,17 @@ jobs:
225
217
226
218
publish :
227
219
name : ' Publish'
228
- runs-on : ubuntu-20.04
220
+ runs-on : ubuntu-latest
229
221
needs : [windows, testdemos, linux]
230
222
231
223
steps :
232
224
- name : Deploying linux artifacts
233
- uses : actions/download-artifact@v3
225
+ uses : actions/download-artifact@v4
234
226
with :
235
227
name : linux32
236
228
237
229
- name : Deploying windows artifacts
238
- uses : actions/download-artifact@v3
230
+ uses : actions/download-artifact@v4
239
231
with :
240
232
name : win32
241
233
0 commit comments