This commit is contained in:
Mateusz Faderewski 2023-02-18 22:31:42 +01:00
parent 6279447f79
commit 95075d14ea

View File

@ -45,15 +45,17 @@ jobs:
options: --console --icon ../../assets/sc64_logo_256_256.png options: --console --icon ../../assets/sc64_logo_256_256.png
package-options: -a -c -f package-options: -a -c -f
package-ext: zip package-ext: zip
- os: ubuntu-latest - os: ubuntu-latest
name: sc64-linux name: sc64-linux
package-options: -czf package-options: -czf
package-ext: tar.gz package-ext: tgz
- os: macos-latest - os: macos-latest
name: sc64-macos name: sc64-macos
options: --console --icon ../../assets/sc64_logo_256_256.png options: --console --icon ../../assets/sc64_logo_256_256.png
package-options: -czf package-options: -czf
package-ext: tar.gz package-ext: tgz
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -88,13 +90,8 @@ jobs:
name: ${{ matrix.name }} name: ${{ matrix.name }}
path: sw/pc/package/* path: sw/pc/package/*
# - name: Zip release executables - name: Upload release assets
# if: github.event_name == 'release' && github.event.action == 'created' if: github.event_name == 'release' && github.event.action == 'created'
# run: ${{ matrix.zip }} ${{ matrix.name }}.zip * uses: softprops/action-gh-release@v0.1.15
# working-directory: sw/pc/dist with:
files: sw/pc/package/${{ matrix.name }}.${{ matrix.package-ext }}
# - name: Upload release assets
# if: github.event_name == 'release' && github.event.action == 'created'
# uses: softprops/action-gh-release@v0.1.15
# with:
# files: sw/pc/dist/${{ matrix.name }}.zip