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