From 304b4650e97462ae402a1269b14a2acbdb815588 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Wed, 13 Nov 2024 22:44:56 -0500 Subject: [PATCH] packwiz build in CI --- .github/workflows/modpack.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/modpack.yml diff --git a/.github/workflows/modpack.yml b/.github/workflows/modpack.yml new file mode 100644 index 0000000..6750db0 --- /dev/null +++ b/.github/workflows/modpack.yml @@ -0,0 +1,25 @@ +name: Build & Publish Minecraft Modpack +on: + push: + branches: + - master + +jobs: + build: + name: Build + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Install go + uses: actions/setup-go@v2 + with: + go-version: 1.16 + + - name: Install packwiz + run: go install github.com/packwiz/packwiz@latest + + - name: Build modpack + run: packwiz --pack-file ./configs/minecraft/modpack/pack.toml --meta-folder-base ./configs/minecraft/modpack modrinth export \ No newline at end of file