diff --git a/.github/workflows/build-release.js.yml b/.github/workflows/build-release.js.yml index 2c09d36bd9..510102c75c 100644 --- a/.github/workflows/build-release.js.yml +++ b/.github/workflows/build-release.js.yml @@ -51,11 +51,11 @@ jobs: run: yarn run tsc - name: Build project run: yarn build - - name: Bundle builded data - run: zip release-${{github.head_ref || github.ref_name}}.zip -r ./target/* + - name: Bundle built data + run: tar -czf hydrogen-web-${{github.head_ref || github.ref_name}}.tar.gz -C ./target/ . - name: Update release if: startsWith(github.ref, 'refs/tags/') run: | - gh release upload ${{ github.ref_name }} release-${{github.head_ref || github.ref_name}}.zip --clobber + gh release upload ${{ github.ref_name }} hydrogen-web-${{github.head_ref || github.ref_name}}.tar.gz --clobber env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}