Skip to content

Commit d3c8ba8

Browse files
committed
Update workflows/build.yml
1 parent 4d90a5f commit d3c8ba8

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

.github/workflows/build.yml

+11-19
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,12 @@ jobs:
2525

2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
with:
3030
fetch-depth: 0
3131

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-
4032
- name: Setup MSBuild
41-
uses: microsoft/setup-msbuild@v1.1.3
33+
uses: microsoft/setup-msbuild@v2
4234
with:
4335
vs-version: '16.8'
4436

@@ -66,14 +58,14 @@ jobs:
6658
move msvc\${{ env.buildRelease }}\mp.pdb publish\debug\mp.pdb
6759
6860
- name: Deploy artifacts
69-
uses: actions/upload-artifact@v3.1.1
61+
uses: actions/upload-artifact@v4
7062
with:
7163
name: win32
7264
path: publish/*
7365

7466
testdemos:
7567
name: 'Test demos'
76-
runs-on: ubuntu-20.04
68+
runs-on: ubuntu-latest
7769
container: s1lentq/testdemos:latest
7870
needs: [windows]
7971

@@ -88,7 +80,7 @@ jobs:
8880

8981
steps:
9082
- name: Deploying windows artifacts
91-
uses: actions/download-artifact@v3
83+
uses: actions/download-artifact@v4
9284
with:
9385
name: win32
9486

@@ -140,12 +132,12 @@ jobs:
140132
141133
linux:
142134
name: 'Linux'
143-
runs-on: ubuntu-20.04
135+
runs-on: ubuntu-22.04
144136
container: s1lentq/linux86buildtools:latest
145137

146138
steps:
147139
- name: Checkout
148-
uses: actions/checkout@v3
140+
uses: actions/checkout@v4
149141
with:
150142
fetch-depth: 0
151143
submodules: true
@@ -211,7 +203,7 @@ jobs:
211203
shell: bash
212204

213205
- name: Deploy artifacts
214-
uses: actions/upload-artifact@v3.1.1
206+
uses: actions/upload-artifact@v4
215207
id: upload-job
216208
with:
217209
name: linux32
@@ -225,17 +217,17 @@ jobs:
225217
226218
publish:
227219
name: 'Publish'
228-
runs-on: ubuntu-20.04
220+
runs-on: ubuntu-latest
229221
needs: [windows, testdemos, linux]
230222

231223
steps:
232224
- name: Deploying linux artifacts
233-
uses: actions/download-artifact@v3
225+
uses: actions/download-artifact@v4
234226
with:
235227
name: linux32
236228

237229
- name: Deploying windows artifacts
238-
uses: actions/download-artifact@v3
230+
uses: actions/download-artifact@v4
239231
with:
240232
name: win32
241233

0 commit comments

Comments
 (0)