mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +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
|
name: Build Release Binaries
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
@ -71,7 +72,15 @@ jobs:
|
|||||||
tar cJf $directory.tar.xz $directory
|
tar cJf $directory.tar.xz $directory
|
||||||
fi
|
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
|
- uses: ncipollo/release-action@v1.14.0
|
||||||
|
if: github.event_name == 'release'
|
||||||
with:
|
with:
|
||||||
artifacts: "typst-${{ matrix.target }}.*"
|
artifacts: "typst-${{ matrix.target }}.*"
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user