Skip to content

Commit

Permalink
Update build-exe.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasDawson authored Jul 18, 2022
1 parent f0e52fd commit c2ff5e4
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build-exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,15 @@ jobs:

- name: Build the executable using cx_freeze
run: pipenv run python ./cxfreeze_setup.py build -b win64

- name: Compress the executable
run: tar.exe -acf gparch_cli_win64.zip win64

- name: Upload executable
uses: actions/upload-artifact@v3
with:
name: gparch_cli_win64
path: win64
path: gparch_cli_win64.zip
retention-days: 7

build-linux:
Expand All @@ -59,12 +62,15 @@ jobs:

- name: Build the executable using cx_freeze
run: pipenv run python ./cxfreeze_setup.py build -b linux

- name: Compress the executable
run: tar -czvf gparch_cli_linux.tar.gz linux

- name: Upload executable
uses: actions/upload-artifact@v3
with:
name: gparch_cli_linux
path: linux
path: gparch_cli_linux.tar.gz
retention-days: 7

build-macos:
Expand All @@ -90,10 +96,13 @@ jobs:

- name: Build the executable using cx_freeze
run: pipenv run python ./cxfreeze_setup.py build -b macos

- name: Compress the executable
run: zip -r gparch_cli_macos.zip macos

- name: Upload executable
uses: actions/upload-artifact@v3
with:
name: gparch_cli_macos
path: macos
path: gparch_cli_macos.zip
retention-days: 7

0 comments on commit c2ff5e4

Please sign in to comment.