From 9386942e10a9ec102bced9ec9f7f77e2c245622c Mon Sep 17 00:00:00 2001 From: edgarburgues Date: Fri, 17 May 2024 13:02:10 +0200 Subject: [PATCH] chore: Update Rust workflow to remove unnecessary archive formats in the release job --- .github/workflows/rust.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 784133d..e636772 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,7 +20,7 @@ jobs: - target: x86_64-pc-windows-gnu archive: zip - target: x86_64-unknown-linux-musl - archive: tar.gz tar.xz tar.zst + archive: tar.gz - target: x86_64-apple-darwin archive: zip @@ -56,8 +56,6 @@ jobs: else tar -czvf dist/ml2pdf-${{ matrix.target }}.tar.gz -C target/${{ matrix.target }}/release ml2pdf* fi - with: - working-directory: . - name: Upload artifact uses: actions/upload-artifact@v2 @@ -97,7 +95,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: dist/ml2pdf-${{ matrix.target }}.* + asset_path: dist/ml2pdf-${{ matrix.target }}.${{ matrix.archive }} asset_name: ml2pdf-${{ matrix.target }}.${{ matrix.archive }} asset_content_type: application/octet-stream