Improve build pipeline

This commit is contained in:
MrTeferi
2022-11-21 20:43:00 -06:00
parent 6842f63f43
commit b336519d9b
2 changed files with 5 additions and 9 deletions

View File

@@ -15,10 +15,13 @@ jobs:
include:
- os: macos-latest
TARGET: macos
OUTPUT_FILE: launcher
- os: windows-latest
TARGET: windows
OUTPUT_FILE: launcher.exe
- os: ubuntu-latest
TARGET: linux
OUTPUT_FILE: launcher
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
@@ -36,14 +39,7 @@ jobs:
run: |
poetry run pyinstaller launcher.spec
- name: Upload artifact Windows
if: matrix.os == "windows-latest"
uses: actions/upload-artifact@v2
with:
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
path: ./dist/${{ matrix.OUTPUT_FILE }}
name: CC Server (${{ matrix.TARGET }})

2
.idea/workspace.xml generated
View File

@@ -38,7 +38,7 @@
<option name="presentableId" value="Default" />
<updated>1669081298142</updated>
<workItem from="1669081299384" duration="1718000" />
<workItem from="1669083406313" duration="1037000" />
<workItem from="1669083406313" duration="1547000" />
</task>
<servers />
</component>