mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Allow triggering the release workflow manually (#5349)
This commit is contained in:
parent
fac7583745
commit
6b636167ef
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user