feat: initial packwiz building in actions CI
Publish Modpack Archive / Prepare Go environment (push) Successful in 31s
Publish Modpack Archive / Prepare Go environment (push) Successful in 31s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user