@@ -142,7 +142,7 @@ jobs:
142
142
local-downloads/
143
143
local-packages/
144
144
output/
145
- sdk :
145
+ aspnetcore :
146
146
needs : roslyn
147
147
runs-on : ubuntu-latest
148
148
strategy :
@@ -175,51 +175,6 @@ jobs:
175
175
uses : actions/download-artifact@v3 # Newer versions are not compatible with Ubuntu 18.04
176
176
with :
177
177
name : roslyn-${{ matrix.arch }}
178
- - name : Prepare
179
- run : ./dotnet-prepare sdk
180
- - name : Build
181
- run : ARCH=${{ matrix.arch }} ./dotnet-build sdk
182
- - name : Upload the intermediate results
183
- uses : actions/upload-artifact@v3 # Newer versions are not compatible with Ubuntu 18.04
184
- with :
185
- name : sdk-${{ matrix.arch }}
186
- path : |
187
- local-downloads/
188
- local-packages/
189
- output/
190
- aspnetcore :
191
- needs : sdk
192
- runs-on : ubuntu-latest
193
- strategy :
194
- matrix :
195
- # TODO: aspnetcore build fails on x64 with:
196
- # EXEC : error : Failed to load assembly 'System.Private.CoreLib'
197
- arch : [ppc64le, s390x]
198
- isV6 :
199
- - ${{ startsWith(github.ref, 'refs/tags/v6.') }}
200
- exclude :
201
- - arch : ppc64le
202
- isV6 : true
203
- container :
204
- image : ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
205
- credentials :
206
- username : ${{ github.actor }}
207
- password : ${{ secrets.GITHUB_TOKEN }}
208
- # Workaround for the following:
209
- # fatal: detected dubious ownership in repository at '/__w/dotnet-s390x/dotnet-s390x'
210
- options : --user root
211
- steps :
212
- - name : Configure git
213
- run :
git config --global user.email [email protected] &&
214
- git config --global user.name "dotnet-s390x bot"
215
- - name : Checkout
216
- uses : actions/checkout@v1 # Newer versions are not compatible with Ubuntu 18.04
217
- - name : Fix the repository ownership
218
- run : chown -R "$(id -u):$(id -g)" .
219
- - name : Download the previous stage's artifacts
220
- uses : actions/download-artifact@v3 # Newer versions are not compatible with Ubuntu 18.04
221
- with :
222
- name : sdk-${{ matrix.arch }}
223
178
- name : Prepare
224
179
run : ./dotnet-prepare aspnetcore
225
180
- name : Build
@@ -232,7 +187,7 @@ jobs:
232
187
local-downloads/
233
188
local-packages/
234
189
output/
235
- installer :
190
+ sdk :
236
191
needs : aspnetcore
237
192
runs-on : ubuntu-latest
238
193
strategy :
@@ -266,20 +221,19 @@ jobs:
266
221
with :
267
222
name : aspnetcore-${{ matrix.arch }}
268
223
- name : Prepare
269
- run : ./dotnet-prepare installer
224
+ run : ./dotnet-prepare sdk
270
225
- name : Build
271
- run : ARCH=${{ matrix.arch }} ./dotnet-build installer
226
+ run : ARCH=${{ matrix.arch }} ./dotnet-build sdk
272
227
- name : Upload the intermediate results
273
228
uses : actions/upload-artifact@v3 # Newer versions are not compatible with Ubuntu 18.04
274
229
with :
275
- name : installer -${{ matrix.arch }}
230
+ name : sdk -${{ matrix.arch }}
276
231
path : |
277
- # Use a dummy file to preserve the directory structure.
278
- # See https://github.com/actions/upload-artifact/issues/174 for details.
279
- dotnet-versions
232
+ local-downloads/
233
+ local-packages/
280
234
output/
281
235
release :
282
- needs : installer
236
+ needs : sdk
283
237
runs-on : ubuntu-latest
284
238
strategy :
285
239
matrix :
@@ -301,15 +255,15 @@ jobs:
301
255
uses : actions/checkout@v1 # Newer versions are not compatible with Ubuntu 18.04
302
256
- name : Fix the repository ownership
303
257
run : chown -R "$(id -u):$(id -g)" .
304
- - name : Download the ppc64le installer artifacts
258
+ - name : Download the ppc64le sdk artifacts
305
259
uses : actions/download-artifact@v3 # Newer versions are not compatible with Ubuntu 18.04
306
260
with :
307
- name : installer -ppc64le
261
+ name : sdk -ppc64le
308
262
if : ${{ !startsWith(github.ref, 'refs/tags/v6.') }}
309
- - name : Download the s390x installer artifacts
263
+ - name : Download the s390x sdk artifacts
310
264
uses : actions/download-artifact@v3 # Newer versions are not compatible with Ubuntu 18.04
311
265
with :
312
- name : installer -s390x
266
+ name : sdk -s390x
313
267
- name : Create a release
314
268
run : gh release create --notes "" "${{ github.ref_name }}" output/*
315
269
env :
0 commit comments