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