@@ -269,18 +269,18 @@ jobs:
269
269
fail-fast : false
270
270
matrix :
271
271
job :
272
- - { target: x86_64-unknown-linux-musl, repo: tedge-main , component: main }
273
- - { target: aarch64-unknown-linux-musl, repo: tedge-main , component: main }
272
+ - { target: x86_64-unknown-linux-musl, repo_suffix: '' , component: main }
273
+ - { target: aarch64-unknown-linux-musl, repo_suffix: '' , component: main }
274
274
# Keep arm-unknown-linux-musleabi in separate repo due to armhf conflict between raspbian and debian
275
- - { target: arm-unknown-linux-musleabi, repo: tedge-main- armv6, component: main }
276
- - { target: armv7-unknown-linux-musleabihf, repo: tedge-main , component: main }
277
- - { target: arm-unknown-linux-musleabi, repo: tedge-main , component: main }
278
- - { target: i686-unknown-linux-musl, repo: tedge-main , component: main }
275
+ - { target: arm-unknown-linux-musleabi, repo_suffix: '- armv6' , component: main }
276
+ - { target: armv7-unknown-linux-musleabihf, repo_suffix: '' , component: main }
277
+ - { target: arm-unknown-linux-musleabi, repo_suffix: '' , component: main }
278
+ - { target: i686-unknown-linux-musl, repo_suffix: '' , component: main }
279
279
# Debian also calls this "armel" (conflict with arm-unknown-linux-musleabi)
280
- # - { target: armv5te-unknown-linux-musleabi, repo: tedge-main , component: main }
281
- - { target: riscv64gc-unknown-linux-gnu, repo: tedge-main , component: main }
282
- - { target: aarch64-apple-darwin, repo: tedge-main , component: main }
283
- - { target: x86_64-apple-darwin, repo: tedge-main , component: main }
280
+ # - { target: armv5te-unknown-linux-musleabi, repo_suffix: '' , component: main }
281
+ - { target: riscv64gc-unknown-linux-gnu, repo_suffix: '' , component: main }
282
+ - { target: aarch64-apple-darwin, repo_suffix: '' , component: main }
283
+ - { target: x86_64-apple-darwin, repo_suffix: '' , component: main }
284
284
285
285
steps :
286
286
- name : Checkout
@@ -301,11 +301,12 @@ jobs:
301
301
- uses : taiki-e/install-action@just
302
302
- name : Publish packages
303
303
env :
304
+ PUBLISH_REPO : ${{ secrets.PUBLISH_REPO }}${{ matrix.job.repo_suffix }}
304
305
PUBLISH_OWNER : ${{ secrets.PUBLISH_OWNER }}
305
306
PUBLISH_TOKEN : ${{ secrets.PUBLISH_TOKEN }}
306
307
run : |
307
308
just publish-linux-target "${{ matrix.job.target }}" \
308
- --repo "${{ matrix.job.repo } }" \
309
+ --repo "${PUBLISH_REPO }" \
309
310
--component "${{ matrix.job.component }}"
310
311
311
312
# Wait until all other publishing jobs are finished
@@ -412,11 +413,12 @@ jobs:
412
413
run : just release-linux-virtual
413
414
- name : Publish packages
414
415
env :
416
+ PUBLISH_REPO : ${{ secrets.PUBLISH_REPO }}
415
417
PUBLISH_OWNER : ${{ secrets.PUBLISH_OWNER }}
416
418
PUBLISH_TOKEN : ${{ secrets.PUBLISH_TOKEN }}
417
419
run : |
418
- just publish-linux-virtual --repo tedge-main
419
- just publish-linux-virtual --repo tedge-main- armv6
420
+ just publish-linux-virtual --repo "${PUBLISH_REPO}"
421
+ just publish-linux-virtual --repo "${PUBLISH_REPO}- armv6"
420
422
421
423
release :
422
424
runs-on : ubuntu-latest
0 commit comments