diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 30a55b0..4900583 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -48,8 +48,8 @@ jobs: - name: Remove .git run: rm -rf "${name}-${ref}/.git" && ls -laR "${name}-${ref}" - - name: Tar/xz source - run: tar -cvJf "${name}-${ref}.tar.xz" "${name}-${ref}" + - name: Tar/zstd source + run: tar --zstd -cvf "${name}-${ref}.tar.zst" "${name}-${ref}" - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 with: @@ -124,11 +124,11 @@ jobs: - name: Check output run: file "target/${{ matrix.target }}/release/${name}" - name: Compress - run: cp "target/${{ matrix.target }}/release/${name}" . && tar -cvJf "${name}-${ref}-${{ matrix.target }}.tar.xz" "${name}" + run: cp "target/${{ matrix.target }}/release/${name}" . && tar --zstd -cvf "${name}-${ref}-${{ matrix.target }}.tar.zst" "${name}" - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 with: name: ${{ matrix.target }} - path: "${{ env.name }}-${{ env.ref }}-${{ matrix.target }}.tar.xz" + path: "${{ env.name }}-${{ env.ref }}-${{ matrix.target }}.tar.zst" publish_github: name: Publish [GitHub] @@ -149,7 +149,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: | - *.xz + *.zst body_path: release-notes.md make_latest: true env: