Skip to content

Commit

Permalink
chore: Update Rust workflow to remove unnecessary archive formats in …
Browse files Browse the repository at this point in the history
…the release job
  • Loading branch information
edgarburgues committed May 17, 2024
1 parent 66fd9c5 commit 9386942
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 9386942

Please sign in to comment.