20 lines
519 B
YAML
20 lines
519 B
YAML
name: Publish Modpack Archive
|
|
run-name: Publish latest mcpack file
|
|
on: [push]
|
|
jobs:
|
|
Prepare Go environment:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Setup Go ${{ matrix.go-version }}
|
|
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
|
|
run: |
|
|
packwiz modrinth export
|
|
ls
|