summaryrefslogtreecommitdiff
path: root/.github/workflows/build-modpack.yml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-11 10:50:21 -0400
committerseth <[email protected]>2023-05-11 10:50:21 -0400
commit74a074543532b63dfc049e6c51fe10e2ea795650 (patch)
tree78dcc081a6f3e4a51b92a48b328cba7ab963bad2 /.github/workflows/build-modpack.yml
parent1ba54ded1ee5e1e6e140f0348750c1c01ff0ff9b (diff)
start using packwiz2nix
Diffstat (limited to '.github/workflows/build-modpack.yml')
-rw-r--r--.github/workflows/build-modpack.yml26
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/*