diff options
| author | seth <[email protected]> | 2023-05-11 10:50:21 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-11 10:50:21 -0400 |
| commit | 74a074543532b63dfc049e6c51fe10e2ea795650 (patch) | |
| tree | 78dcc081a6f3e4a51b92a48b328cba7ab963bad2 /.github/workflows/update-checksums.yml | |
| parent | 1ba54ded1ee5e1e6e140f0348750c1c01ff0ff9b (diff) | |
start using packwiz2nix
Diffstat (limited to '.github/workflows/update-checksums.yml')
| -rw-r--r-- | .github/workflows/update-checksums.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/update-checksums.yml b/.github/workflows/update-checksums.yml new file mode 100644 index 0000000..7a5b9a3 --- /dev/null +++ b/.github/workflows/update-checksums.yml @@ -0,0 +1,33 @@ +name: Update mod checksums + +on: + push: + paths: + # only run when mod files are changed + - mods/** + workflow_dispatch: + workflow_run: + workflows: ["Update mods"] + types: + - completed + +permissions: + contents: write + +jobs: + build-modpack: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v20 + + - name: generate new checksums + run: | + nix run --impure .#generate-checksums + + - name: commit changes + uses: EndBug/add-and-commit@v9 + with: + default_author: github_actions + message: "chore(flake): update mod checksums" |
