diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-09-11 14:54:05 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-09-11 14:54:05 +0300 |
| commit | 03457913816b0e22e5fb7de5c83d199ee5ae7c51 (patch) | |
| tree | 2daa185654f2e79f05c8d81738274d243ce56c05 /.github | |
| parent | 560cb8c1d29bd8ac4c57abbe136d90cd806c3189 (diff) | |
ci: trigger nix updates after stable releases
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e833ab2..bdf0a45f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -222,6 +222,25 @@ jobs: herdr-windows-x86_64.zip/herdr-windows-x86_64.zip body_path: RELEASE_NOTES.md + update-nix-package: + needs: release + if: github.repository == 'herdrdev/herdr' + runs-on: ubuntu-latest + timeout-minutes: 2 + continue-on-error: true + permissions: {} + + steps: + - name: Trigger stable Nix package update + env: + GH_TOKEN: ${{ secrets.HERDR_NIX_DISPATCH_TOKEN }} + GH_HOST: github.com + run: | + if ! gh workflow run update-check.yml --repo herdrdev/herdr-nix --ref main; then + echo "::warning::Nix update could not be triggered. The Herdr release is already published; run update-check manually in herdrdev/herdr-nix." + exit 1 + fi + close-released-issues: needs: release if: github.repository == 'herdrdev/herdr' |
