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