Skip to content

Commit

Permalink
ci: fix tar gzipped executable
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerwooo committed Jul 25, 2023
1 parent d1fa3b1 commit 7beec9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ jobs:
python -m pip install pyinstaller
- name: Compile single executable for Windows/Linux
run: pyinstaller --onefile --noconfirm --clean --name=${{ matrix.artifact_name }} src/bitsrun/cli.py
run: pyinstaller --onefile --noconfirm --clean --name=bitsrun src/bitsrun/cli.py
if: matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest'

- name: Compile single executable for macOS
run: pyinstaller --onefile --noconfirm --clean --name=${{ matrix.artifact_name }} --target-arch=universal2 src/bitsrun/cli.py
run: pyinstaller --onefile --noconfirm --clean --name=bitsrun --target-arch=universal2 src/bitsrun/cli.py
if: matrix.os == 'macos-latest'

- name: Package binaries for Linux/macOS
run: |
cd dist
tar -czvf ${{ matrix.release_name }} ${{ matrix.artifact_name }}
tar -czvf bitsrun.tar.gz bitsrun
cd -
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'

Expand Down

0 comments on commit 7beec9d

Please sign in to comment.