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:
|
||||
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||
|
||||
Build Prism Launcher Export File:
|
||||
Build Export Files:
|
||||
runs-on: docker
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
|
@ -54,30 +54,22 @@ jobs:
|
|||
|
||||
- name: Copy export files
|
||||
run: |
|
||||
mkdir -vp /export/.minecraft
|
||||
cp -vrT ./build/prism /export
|
||||
cp -v ./unsup.ini /export/.minecraft/
|
||||
cp -vrT ./build/atlauncher ~/export/atlauncher
|
||||
cp -vp ./unsup.ini ~/export/atlauncher/.minecraft/
|
||||
|
||||
- name: Upload export artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: PrismLauncher
|
||||
path: /export/
|
||||
mkdir -vp ~/export/prism/.minecraft
|
||||
cp -vrT ./build/prism ~/export/prism
|
||||
cp -v ./unsup.ini ~/export/prism/.minecraft/
|
||||
|
||||
Build ATLauncher Export File:
|
||||
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
|
||||
- name: Upload ATLauncher export artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
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