From 921963cce4b5c0e6516a841f2be9680802201512 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 11 May 2023 02:07:22 -0400 Subject: feat: start using packwiz2nix --- .github/workflows/update-checksums.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/update-checksums.yml (limited to '.github/workflows/update-checksums.yml') 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" -- cgit v1.2.3