Fix os check for action

This commit is contained in:
MrTeferi
2022-11-21 20:34:41 -06:00
parent 5d2c266cc7
commit 6842f63f43
2 changed files with 11 additions and 7 deletions

View File

@@ -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
View File

@@ -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>