summaryrefslogtreecommitdiff
path: root/.github/workflows/build-modpack.yml
blob: 750036246831233595b49e71b659b56b478bb896 (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: result/getchoo-modpack.zip