merge export jobs
This commit is contained in:
parent
5cf0ee2525
commit
24316b4e9d
1 changed files with 5 additions and 41 deletions
|
|
@ -6,7 +6,7 @@ on:
|
|||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build-modrinth:
|
||||
build-packs:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: codeberg.org/astreaprtcl/linuxcraft/alpine-packwiz:latest
|
||||
|
|
@ -18,51 +18,15 @@ jobs:
|
|||
- name: Build Package
|
||||
run: |
|
||||
packwiz mr export
|
||||
|
||||
- name: Upload binary artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Linuxcraft-${{ env.GITHUB_REF_NAME }}.mrpack
|
||||
path: ./*.mrpack
|
||||
|
||||
build-curseforge:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: codeberg.org/astreaprtcl/linuxcraft/alpine-packwiz:latest
|
||||
|
||||
steps:
|
||||
- name: Checkout the repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build Package
|
||||
run: |
|
||||
packwiz cf export -s server
|
||||
mv Linuxcraft-$GITHUB_REF_NAME.zip Linuxcraft-$GITHUB_REF_NAME-server.zip
|
||||
packwiz cf export
|
||||
|
||||
- name: Upload binary artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Linuxcraft-${{ env.GITHUB_REF_NAME }}.zip
|
||||
path: ./*.zip
|
||||
|
||||
build-serverpack:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: codeberg.org/astreaprtcl/linuxcraft/alpine-packwiz:latest
|
||||
|
||||
steps:
|
||||
- name: Checkout the repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build Package
|
||||
run: |
|
||||
packwiz cf export -s server
|
||||
mv *.zip Linuxcraft-$GITHUB_REF_NAME-server.zip
|
||||
|
||||
- name: Upload binary artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Linuxcraft-${{ env.GITHUB_REF_NAME }}-server.zip
|
||||
path: ./*.zip
|
||||
name: Linuxcraft-${{ env.GITHUB_REF_NAME }}
|
||||
path: ./Linuxcraft-${{ env.GITHUB_REF_NAME }}*
|
||||
|
||||
publish-artifacts:
|
||||
runs-on: docker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue