feat: finish up automated CI pack building
This commit is contained in:
@@ -1,19 +1,22 @@
|
|||||||
name: Publish Modpack Archive
|
name: Publish Modpack Archive
|
||||||
run-name: Publish latest mcpack file
|
run-name: Publish latest commit as mrpack file
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
Prepare Go environment:
|
Prepare Go environment:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: Setup Go ${{ matrix.go-version }}
|
- name: Setup Go environment
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.26"
|
go-version: "1.26"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
go install github.com/packwiz/packwiz@latest
|
go install github.com/packwiz/packwiz@latest
|
||||||
- name: Build mcpack file with packwiz
|
- name: Build mrpack file with packwiz
|
||||||
run: |
|
run: |
|
||||||
packwiz modrinth export
|
packwiz modrinth export
|
||||||
ls
|
- uses: akkuman/gitea-release-action@v1
|
||||||
|
with:
|
||||||
|
files: | -
|
||||||
|
*.mrpack
|
||||||
|
|||||||
Reference in New Issue
Block a user