Skip to content

Commit

Permalink
Add suffixes for OS
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinM9991 committed Jul 29, 2024
1 parent 450f90f commit 66e6c73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ jobs:
- os: ubuntu-latest
distro: linux
binary: sonny_sorter
suffix: tar.gz
- os: macos-latest
distro: macos
binary: sonny_sorter
suffix: tar.gz
- os: windows-latest
distro: windows
binary: sonny_sorter.exe
suffix: zip

runs-on: ${{ matrix.os }}

Expand All @@ -36,5 +39,5 @@ jobs:
run: cargo build --release
- uses: actions/upload-artifact@v4
with:
name: ${{ env.APP_NAME }}_${{ matrix.distro }}
name: ${{ env.APP_NAME }}_${{ matrix.distro }}.${{ matrix.suffix }}
path: ${{ github.workspace }}/target/release/${{ matrix.binary }}

0 comments on commit 66e6c73

Please sign in to comment.