Skip to content

Commit

Permalink
combine tar and gzip into one step
Browse files Browse the repository at this point in the history
  • Loading branch information
briankoehler committed Jan 5, 2025
1 parent a82c545 commit 9b86a93
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 @@ -25,12 +25,10 @@ jobs:
run: |
chmod +x target/${{ matrix.target }}/release/the-collector
chmod +x target/${{ matrix.target }}/release/int-bot
- name: Create tar archive
run: tar -cvf target/${{ matrix.target }}/the-collector.tar \
- name: Create gzipped tarball
run: tar -czvf target/${{ matrix.target }}/the-collector.tar.gz \
target/${{ matrix.target }}/release/the-collector \
target/${{ matrix.target }}/release/int-bot
- name: Gzip tar archive
run: gzip target/${{ matrix.target }}/the-collector.tar
- name: Create release on GitHub
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 9b86a93

Please sign in to comment.