diff options
| author | seth <[email protected]> | 2023-05-01 21:05:38 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-01 21:05:44 -0400 |
| commit | f0e119fd32a8f92eb9e8591a0f2caec827f5b32a (patch) | |
| tree | 94df740283eef79ad4bd857e07b1134b6277dca0 /.github/workflows | |
| parent | 22c6199166e343d950e37029041cf7d251b903c1 (diff) | |
actions: upload modpack as artifact on push
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build-modpack.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/build-modpack.yml b/.github/workflows/build-modpack.yml new file mode 100644 index 0000000..9bf5888 --- /dev/null +++ b/.github/workflows/build-modpack.yml @@ -0,0 +1,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 |
