mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +03:00
Generate tar.gz file too
This commit is contained in:
parent
1882338078
commit
1dc397c066
2 changed files with 6 additions and 3 deletions
6
.github/workflows/prodtag.yml
vendored
6
.github/workflows/prodtag.yml
vendored
|
@ -20,11 +20,13 @@ jobs:
|
|||
with:
|
||||
node-version: 18
|
||||
- run: npm ci && npm run build
|
||||
- run: cd dist && zip -r ../phanpy-dist.zip . && cd ..
|
||||
- run: cd dist && zip -r ../phanpy-dist.zip . && tar -czf ../phanpy-dist.tar.gz . && cd ..
|
||||
- id: tag_name
|
||||
run: echo ::set-output name=tag_name::$(date +%Y.%m.%d).$(git rev-parse --short HEAD)
|
||||
- uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: ${{ steps.tag_name.outputs.tag_name }}
|
||||
generate_release_notes: true
|
||||
files: phanpy-dist.zip
|
||||
files: |
|
||||
phanpy-dist.zip
|
||||
phanpy-dist.tar.gz
|
||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -26,4 +26,5 @@ dist-ssr
|
|||
# Custom
|
||||
.env.dev
|
||||
src/data/instances-full.json
|
||||
phanpy-dist.zip
|
||||
phanpy-dist.zip
|
||||
phanpy-dist.tar.gz
|
Loading…
Reference in a new issue