mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 21:31:39 -05:00
Fix os check for action
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -9,6 +9,7 @@ jobs:
|
||||
build:
|
||||
name: Build packages
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
@@ -34,12 +35,15 @@ jobs:
|
||||
- name: Build with PyInstaller
|
||||
run: |
|
||||
poetry run pyinstaller launcher.spec
|
||||
- name: Upload artifact
|
||||
- name: Upload artifact Windows
|
||||
if: matrix.os == "windows-latest"
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
path:
|
||||
if matrix.os == "windows-latest":
|
||||
./dist/launcher.exe
|
||||
else:
|
||||
./dist/launcher
|
||||
path: ./dist/launcher.exe
|
||||
name: CC Server (${{ matrix.TARGET }})
|
||||
- name: Upload artifact macos
|
||||
if: matrix.os != "windows-latest"
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
path: ./dist/launcher
|
||||
name: CC Server (${{ matrix.TARGET }})
|
Reference in New Issue
Block a user