summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release.yml9
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