diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index e687dd8a5a..d928449f7e 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -49,7 +49,7 @@ jobs: - name: Extract source package run: | mkdir src - tar -xf xemu-*.tar.gz -C src --strip-components=2 + tar -xf xemu-*.tar.zst -C src --strip-components=2 - name: Create debian changelog run: | pushd src diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 12a1f5d932..d2033e5aa4 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -37,7 +37,7 @@ jobs: with: name: src - name: Extract source package - run: tar -xf xemu-*.tar.gz --strip-components=2 + run: tar -xf xemu-*.tar.zst --strip-components=2 - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 with: python-version: '3.12' diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index fc50655fea..4fd6b7c0c1 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -34,7 +34,7 @@ jobs: with: name: src - name: Extract source package - run: tar -xf xemu-*.tar.gz --strip-components=2 + run: tar -xf xemu-*.tar.zst --strip-components=2 - name: Initialize compiler cache id: cache uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v4 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0c2117eb8..2c5b7b20c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,12 +31,11 @@ jobs: run: | pkg_name="xemu-${{ steps.version.outputs.pkg_version }}" tar_filename="${pkg_name}.tar" - echo "pkg_filename=${tar_filename}.gz" >> $GITHUB_OUTPUT - tar_prefix="./${pkg_name}/" ./scripts/archive-source.sh ${tar_filename} ${tar_prefix} tar -r --file "${tar_filename}" --transform "s,^./,${tar_prefix}," ./XEMU_COMMIT ./XEMU_VERSION - gzip -1 "${tar_filename}" + zstd "${tar_filename}" + echo "pkg_filename=${tar_filename}.zst" >> $GITHUB_OUTPUT - name: Upload source package artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6e64bd39b..ee92d01d6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: tag_name: ${{ inputs.tag }} draft: true files: | - dist/xemu*.tar.gz + dist/xemu*.tar.zst dist/xemu*-win-*.zip dist/xemu*-macos-universal*.zip dist/xemu*.AppImage diff --git a/.github/workflows/update-ppa.yml b/.github/workflows/update-ppa.yml index 1bf41da47c..a17f311c9d 100644 --- a/.github/workflows/update-ppa.yml +++ b/.github/workflows/update-ppa.yml @@ -21,11 +21,11 @@ jobs: - name: Download release source env: GH_TOKEN: ${{ github.token }} - run: gh release download "${{ inputs.release }}" --repo="${GITHUB_REPOSITORY}" -p 'xemu-*.tar.gz' + run: gh release download "${{ inputs.release }}" --repo="${GITHUB_REPOSITORY}" -p 'xemu-*.tar.zst' - name: Extract source package run: | mkdir src - tar -C src -xf xemu-*.tar.gz --strip-components=2 + tar -C src -xf xemu-*.tar.zst --strip-components=2 # Ensure subprojects are uploaded find src/subprojects -name "*.gitignore" -exec rm {} \;