There was an error while loading. Please reload this page.
1 parent 40cc3d2 commit 19bb04cCopy full SHA for 19bb04c
1 file changed
.github/workflows/publish-mrpack.yml
@@ -0,0 +1,35 @@
1
+name: Publish mrpack
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+permissions:
8
+ contents: write
9
10
+jobs:
11
+ publish:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v6
15
16
+ - uses: cachix/install-nix-action@v31
17
+ with:
18
+ extra_nix_config: |
19
+ extra-substituters = https://cache.numtide.com
20
+ extra-trusted-public-keys = niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g=
21
22
+ - name: Build mrpack
23
+ run: |
24
+ nix build .#mrpack --log-format bar-with-logs
25
+ cp result numcraft.mrpack
26
27
+ - name: Publish GitHub Release
28
+ uses: softprops/action-gh-release@v2
29
30
+ tag_name: latest
31
+ name: Latest modpack
32
+ body: |
33
+ Download `numcraft.mrpack` and import it into PrismLauncher.
34
+ files: numcraft.mrpack
35
+ make_latest: true
0 commit comments