@@ -136,7 +136,7 @@ jobs:
136
136
cd runtime\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\$env:BUILD_CONFIGURATION
137
137
Compress-Archive -DestinationPath $ARTIFACTS_FOLDER\dotnet-runtime-wasm-windows-$env:CURRENT_COMMIT-$env:BASE_DOTNET_SHORT_COMMIT-${{ github.run_id }}-$env:BUILD_CONFIGURATION$archiveConfiguration.zip -Path *
138
138
139
- - uses : actions/upload-artifact@v2
139
+ - uses : actions/upload-artifact@v3
140
140
if : ${{ always() }}
141
141
with :
142
142
name : wasm
@@ -147,8 +147,7 @@ jobs:
147
147
# #
148
148
build_linux_job :
149
149
if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
150
- runs-on : ubuntu-latest
151
- container : ' unoplatform/wasm-build:2.3'
150
+ runs-on : ubuntu-20.04
152
151
153
152
strategy :
154
153
matrix :
@@ -158,7 +157,7 @@ jobs:
158
157
159
158
steps :
160
159
- name : Setup .NET SDK
161
- uses : actions/setup-dotnet@v1.7.2
160
+ uses : actions/setup-dotnet@v4
162
161
with :
163
162
dotnet-version : ${{ env.DOTNETSDK_VERSION }}
164
163
@@ -284,7 +283,7 @@ jobs:
284
283
cd runtime/artifacts/bin/microsoft.netcore.app.runtime.browser-wasm/$BUILD_CONFIGURATION
285
284
/usr/bin/zip -r $ARTIFACTS_FOLDER/dotnet-runtime-wasm-linux-$CURRENT_COMMIT-$BASE_DOTNET_SHORT_COMMIT-$GITHUB_RUN_ID-$BUILD_CONFIGURATION$ARCHIVE_CONFIGURATION.zip *
286
285
287
- - uses : actions/upload-artifact@v2
286
+ - uses : actions/upload-artifact@v3
288
287
if : ${{ always() }}
289
288
with :
290
289
name : wasm
@@ -296,13 +295,13 @@ jobs:
296
295
release_job :
297
296
if : github.event_name == 'push'
298
297
needs : [build_linux_job,build_windows_job]
299
- runs-on : ubuntu-latest
298
+ runs-on : ubuntu-20.04
300
299
environment :
301
300
name : Release
302
301
303
302
steps :
304
303
- name : Download package
305
- uses : actions/download-artifact@v2
304
+ uses : actions/download-artifact@v3
306
305
with :
307
306
name : wasm
308
307
0 commit comments