diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build-modpack.yml | 27 | ||||
| -rw-r--r-- | .github/workflows/update-checksums.yml | 33 | ||||
| -rw-r--r-- | .github/workflows/update-mods.yml | 28 |
3 files changed, 0 insertions, 88 deletions
diff --git a/.github/workflows/build-modpack.yml b/.github/workflows/build-modpack.yml deleted file mode 100644 index 77db3ee..0000000 --- a/.github/workflows/build-modpack.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Build modpack - -on: - push: - paths: - # only run when prismlauncher modpack files are changed - - files/** - workflow_dispatch: - -jobs: - build-modpack: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v20 - - - name: build - run: | - nix build - cp result/getchoo-modpack.zip . - - - name: upload - uses: actions/upload-artifact@v3 - with: - name: getchoo-modpack.zip - path: getchoo-modpack.zip diff --git a/.github/workflows/update-checksums.yml b/.github/workflows/update-checksums.yml deleted file mode 100644 index 7a5b9a3..0000000 --- a/.github/workflows/update-checksums.yml +++ /dev/null @@ -1,33 +0,0 @@ -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" diff --git a/.github/workflows/update-mods.yml b/.github/workflows/update-mods.yml deleted file mode 100644 index cca46ee..0000000 --- a/.github/workflows/update-mods.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Update mods - -on: - schedule: - # run on saturdays at 0:00 utc - - cron: "0 0 * * 6" - workflow_dispatch: - -jobs: - update-mods: - runs-on: ubuntu-latest - - permissions: - contents: write - - steps: - - uses: actions/[email protected] - - uses: cachix/install-nix-action@v20 - - - name: update - run: | - echo "y" | nix run nixpkgs#packwiz -- update --all - - - name: commit changes - uses: EndBug/add-and-commit@v9 - with: - default_author: github_actions - message: "chore: update mods" |
