Skip to content

Commit a477d96

Browse files
authored
Move the glue trigger to a separate job after all builds are done (#321)
* Move the glue trigger to a separate job after all builds are done, so we can be sure both the arm64 and amd64 debs are done at the time of trigger * Update to build-packages
1 parent 19c25b9 commit a477d96

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,11 +460,19 @@ jobs:
460460
$RELEASE_TAG \
461461
dist/*.deb
462462
463+
trigger-repo-update:
464+
name: Trigger repo update
465+
runs-on: ubuntu-latest
466+
needs: [build]
467+
if: github.event_name == 'release'
468+
steps:
469+
- uses: actions/checkout@v6
470+
with:
471+
fetch-depth: 1
472+
463473
- uses: Chia-Network/actions/github/jwt@main
464-
if: matrix.os == 'ubuntu-latest' && matrix.config == 'optimized=1' && github.event_name == 'release'
465474

466475
- name: Trigger repo update
467-
if: matrix.os == 'ubuntu-latest' && matrix.config == 'optimized=1' && github.event_name == 'release'
468476
uses: Chia-Network/actions/github/glue@main
469477
with:
470478
json_data: '{"release_version":"${{ github.event.release.tag_name }}"}'

0 commit comments

Comments
 (0)