blob: 77db3eedc2aa089d2e29f1264fa25e82415ba032 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
name: Build modpack
on:
push:
paths:
# only run when prismlauncher modpack files are changed
- 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
cp result/getchoo-modpack.zip .
- name: upload
uses: actions/upload-artifact@v3
with:
name: getchoo-modpack.zip
path: getchoo-modpack.zip
|