mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
feat: publish compressed dist with tar gzip format
This commit is contained in:
parent
a86c4ba90d
commit
0c9b31d03f
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -49,15 +49,13 @@ jobs:
|
|||||||
publish_dir: ./dist
|
publish_dir: ./dist
|
||||||
cname: d.metacubex.one
|
cname: d.metacubex.one
|
||||||
|
|
||||||
- name: zip
|
- name: compress dist
|
||||||
run: |
|
run: tar czvf compressed-dist.tgz -C dist .
|
||||||
zip -r ../dist.zip .
|
|
||||||
working-directory: dist
|
|
||||||
|
|
||||||
- name: attach github release artifacts
|
- name: attach github release artifacts
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: dist.zip
|
files: compressed-dist.tgz
|
||||||
tag_name: ${{ needs.release-please.outputs.tag_name }}
|
tag_name: ${{ needs.release-please.outputs.tag_name }}
|
||||||
|
|
||||||
release-image:
|
release-image:
|
||||||
|
Loading…
Reference in New Issue
Block a user