mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-30 01:04:13 +01:00
test
This commit is contained in:
parent
08b5763c43
commit
a4a007bf15
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
@ -43,13 +43,17 @@ jobs:
|
|||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
name: sc64-windows
|
name: sc64-windows
|
||||||
options: --console --icon ../../assets/sc64_logo_256_256.png
|
options: --console --icon ../../assets/sc64_logo_256_256.png
|
||||||
|
# package: tar.exe -a -c -C dist -f package/sc64-windows.zip sc64.exe
|
||||||
|
package: cp dist/* package
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
name: sc64-linux
|
name: sc64-linux
|
||||||
finalize: chmod +x dist/*
|
package: tar -czf package/sc64-linux.tgz dist/*
|
||||||
|
# finalize: chmod +x dist/*
|
||||||
- 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
|
||||||
finalize: chmod +x dist/*
|
package: tar -czf package/sc64-macos.tgz dist/*
|
||||||
|
# finalize: chmod +x dist/*
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
@ -70,16 +74,17 @@ jobs:
|
|||||||
run: pyinstaller --clean --onefile ${{ matrix.options }} sc64.py
|
run: pyinstaller --clean --onefile ${{ matrix.options }} sc64.py
|
||||||
working-directory: sw/pc
|
working-directory: sw/pc
|
||||||
|
|
||||||
- name: Finalize executable
|
- name: Package executable
|
||||||
if: ${{ matrix.finalize }}
|
run: |
|
||||||
run: ${{ matrix.finalize }}
|
mkdir package
|
||||||
|
${{ matrix.package }}
|
||||||
working-directory: sw/pc
|
working-directory: sw/pc
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
path: sw/pc/dist/*
|
path: sw/pc/package/*
|
||||||
|
|
||||||
# - name: Zip release executables
|
# - name: Zip release executables
|
||||||
# if: github.event_name == 'release' && github.event.action == 'created'
|
# if: github.event_name == 'release' && github.event.action == 'created'
|
||||||
|
Loading…
Reference in New Issue
Block a user