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:
|
build:
|
||||||
name: Build packages
|
name: Build packages
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
continue-on-error: true
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@@ -34,12 +35,15 @@ jobs:
|
|||||||
- name: Build with PyInstaller
|
- name: Build with PyInstaller
|
||||||
run: |
|
run: |
|
||||||
poetry run pyinstaller launcher.spec
|
poetry run pyinstaller launcher.spec
|
||||||
- name: Upload artifact
|
- name: Upload artifact Windows
|
||||||
|
if: matrix.os == "windows-latest"
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
path:
|
path: ./dist/launcher.exe
|
||||||
if matrix.os == "windows-latest":
|
name: CC Server (${{ matrix.TARGET }})
|
||||||
./dist/launcher.exe
|
- name: Upload artifact macos
|
||||||
else:
|
if: matrix.os != "windows-latest"
|
||||||
./dist/launcher
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
path: ./dist/launcher
|
||||||
name: CC Server (${{ matrix.TARGET }})
|
name: CC Server (${{ matrix.TARGET }})
|
2
.idea/workspace.xml
generated
2
.idea/workspace.xml
generated
@@ -38,7 +38,7 @@
|
|||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1669081298142</updated>
|
<updated>1669081298142</updated>
|
||||||
<workItem from="1669081299384" duration="1718000" />
|
<workItem from="1669081299384" duration="1718000" />
|
||||||
<workItem from="1669083406313" duration="330000" />
|
<workItem from="1669083406313" duration="1037000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
Reference in New Issue
Block a user