mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Improve build pipeline
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -15,10 +15,13 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
TARGET: macos
|
TARGET: macos
|
||||||
|
OUTPUT_FILE: launcher
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
TARGET: windows
|
TARGET: windows
|
||||||
|
OUTPUT_FILE: launcher.exe
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
TARGET: linux
|
TARGET: linux
|
||||||
|
OUTPUT_FILE: launcher
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.10
|
||||||
@@ -36,14 +39,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
poetry run pyinstaller launcher.spec
|
poetry run pyinstaller launcher.spec
|
||||||
- name: Upload artifact Windows
|
- name: Upload artifact Windows
|
||||||
if: matrix.os == "windows-latest"
|
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
path: ./dist/launcher.exe
|
path: ./dist/${{ matrix.OUTPUT_FILE }}
|
||||||
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 }})
|
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="1037000" />
|
<workItem from="1669083406313" duration="1547000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
Reference in New Issue
Block a user