summaryrefslogtreecommitdiff
path: root/.github/workflows/build-modpack.yml
blob: 7efd3d0edc0c95e057b57d5accff6fd54c092ef7 (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
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

      - name: upload
        uses: actions/upload-artifact@v3
        with:
          name: getchoo-modpack.zip
          path: ${{ github.workspace }}/result/getchoo-modpack.zip