diff options
| author | Yip Coekjan <69834864+Coekjan@users.noreply.github.com> | 2024-11-02 04:04:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-01 20:04:04 +0000 |
| commit | 6b636167ef2e84c761777261ce1ca3087a75f765 (patch) | |
| tree | be28b6931c16cda0caf31be3d0aa2ef5194b32b0 | |
| parent | fac75837458e4f7be4f501e40331b8162d90a1f8 (diff) | |
Allow triggering the release workflow manually (#5349)
| -rw-r--r-- | .github/workflows/release.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1486174..84c70c2d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ name: Build Release Binaries on: + workflow_dispatch: release: types: [published] @@ -71,7 +72,15 @@ jobs: tar cJf $directory.tar.xz $directory fi + - uses: actions/upload-artifact@v4 + if: github.event_name == 'workflow_dispatch' + with: + name: typst-${{ matrix.target }} + path: "typst-${{ matrix.target }}.*" + retention-days: 3 + - uses: ncipollo/release-action@v1.14.0 + if: github.event_name == 'release' with: artifacts: "typst-${{ matrix.target }}.*" allowUpdates: true |
