Skip to content

Commit

Permalink
ci: zip built executables
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Nov 20, 2023
1 parent 7f070e2 commit a5763df
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/builder_releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,16 @@ jobs:
- name: Generates Executable
run: python -O ./builder/pyinstaller_build_ubuntu.py

- name: Compress into ZIP
run: |
cd dist/
zip -r9 DicoGIS_Ubuntu . DicoGIS_*/*
- uses: actions/upload-artifact@v3
with:
name: DicoGIS_executable_Ubuntu
path: |
dist/DicoGIS*/
dist/DicoGIS_*.zip
if-no-files-found: error

build-windows:
Expand Down Expand Up @@ -113,12 +118,17 @@ jobs:
- name: Generates MS Executable
run: python -O .\builder\pyinstaller_build_windows.py

- name: Compress into ZIP
run: |
cd dist/
zip -r9 DicoGIS_Windows . DicoGIS_*/*
- name: Save it as artifact
uses: actions/upload-artifact@v3
with:
name: DicoGIS_executable_Windows
path: |
dist/DicoGIS*
dist/DicoGIS_*.zip
if-no-files-found: error

release:
Expand Down Expand Up @@ -149,5 +159,5 @@ jobs:
with:
discussion_category_name: announcements
fail_on_unmatched_files: true
files: builds/*/dist/*
files: builds/*/*.zip
generate_release_notes: true

0 comments on commit a5763df

Please sign in to comment.