Skip to content

Commit

Permalink
refactor: GitHub release action
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Oct 19, 2024
1 parent 1384d17 commit 867fcae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/new_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
matrix:
include:
- target: x86_64-unknown-linux-gnu
output_name: linux_x86_64.tar.gz
output_name: x86_64

- target: aarch64-unknown-linux-gnu
output_name: linux_aarch64.tar.gz
output_name: aarch64

runs-on: ubuntu-latest
steps:
Expand All @@ -38,15 +38,15 @@ jobs:
# Compress the binary
- name: compress linux
run: |
tar -C "target/${{ matrix.target }}/release" -czf "./staticpi_${{ matrix.output_name }}" staticpi
tar -C "target/${{ matrix.target }}/release" -czf "./staticpi_linux_${{ matrix.output_name }}.tar.gz" staticpi
# Upload output for release page
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: ${{ matrix.target }}
path: staticpi_${{ matrix.output_name }}
path: staticpi_linux_${{ matrix.output_name }}.tar.gz
retention-days: 1

###################
Expand Down

0 comments on commit 867fcae

Please sign in to comment.