Skip to content

Commit

Permalink
Compress distribution folder into zip-file, then upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ptsavol committed Jun 12, 2024
1 parent 2634b24 commit ea9e309
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/make_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,14 @@ jobs:
shell: bash
run: |
python -c "from importlib.metadata import version; print('version=' + version('spinetoolbox'))" >> $GITHUB_OUTPUT
- name: Compress
run:
Compress-Archive -Path "./dist/Spine Toolbox/*" -DestinationPath Spine-Toolbox-win-${{ steps.toolbox-version.outputs.version }}.zip
- name: Upload archive
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Spine-Toolbox-win-${{ steps.toolbox-version.outputs.version }}
path: dist
path: ./Spine-Toolbox-win-${{ steps.toolbox-version.outputs.version }}.zip
if-no-files-found: error
overwrite: true
compression-level: 0

0 comments on commit ea9e309

Please sign in to comment.