Skip to content

Commit

Permalink
Seperately upload binary releases
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Jun 27, 2024
1 parent fe67f96 commit 7ad0201
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,23 +102,36 @@ jobs:
poetry install
# Run PyInstaller
poetry run pyinstaller quit.spec
- name: Rename Lin Release
- name: Rename Lin Release 🐧
if: ${{ startsWith(matrix.os, 'ubuntu') }}
run: cp ./dist/run ./dist/quit-linux
- name: Rename Mac Release
- name: Rename Mac Release 🍏
if: ${{ startsWith(matrix.os, 'macos') }}
run: cp ./dist/run ./dist/quit-macos
- name: Rename Win Release
- name: Rename Win Release 🪟
if: ${{ startsWith(matrix.os, 'windows') }}
run: cp ./dist/run.exe ./dist/quit-windows.exe
- name: Upload Binary Releases 🚀
- name: Upload Linux Binary Releases 🚀🐧
if: ${{ startsWith(matrix.os, 'ubuntu') }}
uses: actions/upload-artifact@v4
with:
name: binary-releases
name: binary-releases-linux
path: |
dist/quit-windows.exe
dist/quit-linux
- name: Upload MacOS Binary Releases 🚀🍏
if: ${{ startsWith(matrix.os, 'macos') }}
uses: actions/upload-artifact@v4
with:
name: binary-releases-macos
path: |
dist/quit-macos
- name: Upload Windows Binary Releases 🚀🪟
if: ${{ startsWith(matrix.os, 'windows') }}
uses: actions/upload-artifact@v4
with:
name: binary-releases-windows
path: |
dist/quit-windows.exe
docker:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 7ad0201

Please sign in to comment.