Skip to content

Commit

Permalink
fix: set binary names
Browse files Browse the repository at this point in the history
  • Loading branch information
dadav committed Jan 6, 2024
1 parent 592aeca commit dfddf9d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
- windows-latest
- ubuntu-latest
- macos-latest
include:
- os: windows-latest
binary: digipy.exe
- os: ubuntu-latest
binary: digipy
- os: macos-latest
binary: digipy.app

steps:
- uses: actions/checkout@v4
Expand All @@ -26,8 +29,8 @@ jobs:

- run: pip install -r dev.txt
- run: make
- run: ./dist/digipy version
- run: tar czf ./dist/digipy-${{ matrix.os }}.tar.gz dist/digipy --remove-files
- run: ./dist/${{ matrix.binary }} version
- run: tar czf ./dist/digipy-${{ matrix.os }}.tar.gz dist/${{ matrix.binary }}

- uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit dfddf9d

Please sign in to comment.