summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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..9bf5888
--- /dev/null
+++ b/.github/workflows/build-modpack.yml
@@ -0,0 +1,26 @@
+name: build modpack
+
+on:
+ push:
+ workflow_dispatch:
+
+jobs:
+ build-modpack:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - uses: cachix/install-nix-action@v20
+ with:
+ github_access_token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: build
+ run: |
+ nix build .#getchoo-modpack
+
+ - name: upload
+ uses: actions/upload-artifact@v3
+ with:
+ name: getchoo-modpack.zip
+ path: ${{ github.workspace }}/result/getchoo-modpack.zip