feat: publish compressed dist with tar gzip format

This commit is contained in:
kunish 2023-09-25 21:01:39 +08:00
parent a86c4ba90d
commit 0c9b31d03f
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -49,15 +49,13 @@ jobs:
publish_dir: ./dist
cname: d.metacubex.one
- name: zip
run: |
zip -r ../dist.zip .
working-directory: dist
- name: compress dist
run: tar czvf compressed-dist.tgz -C dist .
- name: attach github release artifacts
uses: softprops/action-gh-release@v1
with:
files: dist.zip
files: compressed-dist.tgz
tag_name: ${{ needs.release-please.outputs.tag_name }}
release-image: