forked from GithubMirrors/cardconjurer
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 }})
|
2
.idea/workspace.xml
generated
2
.idea/workspace.xml
generated
@@ -38,7 +38,7 @@
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1669081298142</updated>
|
||||
<workItem from="1669081299384" duration="1718000" />
|
||||
<workItem from="1669083406313" duration="330000" />
|
||||
<workItem from="1669083406313" duration="1037000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
|
Reference in New Issue
Block a user