From 0c9b31d03f9d6670e1fabbeee4e3791a2d17a775 Mon Sep 17 00:00:00 2001 From: kunish Date: Mon, 25 Sep 2023 21:01:39 +0800 Subject: [PATCH] feat: publish compressed dist with tar gzip format --- .github/workflows/release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 78e34d8..18effb4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: