merged the export build jobs into a single build job
This commit is contained in:
parent
ff092f04fd
commit
98fe4e894b
1 changed files with 15 additions and 23 deletions
|
@ -45,7 +45,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
|
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||||
|
|
||||||
Build Prism Launcher Export File:
|
Build Export Files:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: catthehacker/ubuntu:act-latest
|
container: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -54,30 +54,22 @@ jobs:
|
||||||
|
|
||||||
- name: Copy export files
|
- name: Copy export files
|
||||||
run: |
|
run: |
|
||||||
mkdir -vp /export/.minecraft
|
cp -vrT ./build/atlauncher ~/export/atlauncher
|
||||||
cp -vrT ./build/prism /export
|
cp -vp ./unsup.ini ~/export/atlauncher/.minecraft/
|
||||||
cp -v ./unsup.ini /export/.minecraft/
|
|
||||||
|
|
||||||
- name: Upload export artifact
|
mkdir -vp ~/export/prism/.minecraft
|
||||||
uses: actions/upload-artifact@v3
|
cp -vrT ./build/prism ~/export/prism
|
||||||
with:
|
cp -v ./unsup.ini ~/export/prism/.minecraft/
|
||||||
name: PrismLauncher
|
|
||||||
path: /export/
|
|
||||||
|
|
||||||
Build ATLauncher Export File:
|
- name: Upload ATLauncher export artifact
|
||||||
runs-on: docker
|
|
||||||
container: catthehacker/ubuntu:act-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Copy export files
|
|
||||||
run: |
|
|
||||||
cp -vrT ./build/atlauncher /export
|
|
||||||
cp -vp ./unsup.ini /export/.minecraft/
|
|
||||||
|
|
||||||
- name: Upload export artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ATLauncher
|
name: ATLauncher
|
||||||
path: /export/
|
path: /export/atlauncher/
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
- name: Upload Prism Launcher export artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: PrismLauncher
|
||||||
|
path: /export/prism/
|
||||||
|
|
Reference in a new issue