feat: initial packwiz building in actions CI
Publish Modpack Archive / Prepare Go environment (push) Successful in 31s

This commit is contained in:
2026-04-30 21:46:21 -04:00
parent 3026126b22
commit 7a01a93a6d
+9 -7
View File
@@ -1,17 +1,19 @@
name: Publish Modpack Archive name: Publish Modpack Archive
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 run-name: Publish latest mcpack file
on: [push] on: [push]
jobs: jobs:
Prepare Go environment: Prepare Go environment:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.19", "1.20", "1.21.x"]
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- name: Setup Go ${{ matrix.go-version }} - name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: ${{ matrix.go-version }} go-version: "1.26"
- name: Display Go version - name: Install dependencies
run: go version run: |
go install github.com/packwiz/packwiz@latest
- name: Build mcpack file with packwiz
run: |
packwiz modrinth export
ls