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