mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 13:13:23 +00:00
infra/workflow: Release a source archive without dev resources
This commit is contained in:
parent
37cffba620
commit
e0b8fcc93e
2 changed files with 21 additions and 0 deletions
20
.github/workflows/release.yml
vendored
Normal file
20
.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: Release
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: "thorvg"
|
||||
- name: Create source archive
|
||||
run: |
|
||||
rm -rf ./thorvg/.git* ./thorvg/res
|
||||
tar -I "gzip -9" -cf thorvg.tar.gz thorvg
|
||||
- name: Upload to release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: thorvg.tar.gz
|
|
@ -43,3 +43,4 @@ Jakub Marcowski <chubercikbattle@gmail.com>
|
|||
Thaddeus Crews <repiteo@outlook.com>
|
||||
Benjamin <benjaminhalko@hotmail.com>
|
||||
Benson Muite <benson_muite@emailplus.com>
|
||||
kkocdko <kkocdko@gmail.com>
|
Loading…
Add table
Reference in a new issue