diff options
Diffstat (limited to '.github/workflows/build-modpack.yml')
| -rw-r--r-- | .github/workflows/build-modpack.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/build-modpack.yml b/.github/workflows/build-modpack.yml new file mode 100644 index 0000000..aace7f9 --- /dev/null +++ b/.github/workflows/build-modpack.yml @@ -0,0 +1,26 @@ +name: Build modpack + +on: + push: + paths: + # only run when prismlauncher modpack files are changed + - nix/files/** + workflow_dispatch: + +jobs: + build-modpack: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v20 + + - name: build + run: | + nix build + + - name: upload + uses: actions/upload-artifact@v3 + with: + name: getchoo-modpack.zip + path: ${{ github.workspace }}/result/* |
