mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-08 04:25:59 +01:00
CI: don't auto-update
This pollutes the commit history. Instead, we update the input inside the check action, so that we have an up to date Hyprland, but don't commit the change.
This commit is contained in:
parent
2cdc4a61ac
commit
597e29a501
2 changed files with 3 additions and 28 deletions
3
.github/workflows/nix-build.yml
vendored
3
.github/workflows/nix-build.yml
vendored
|
@ -18,4 +18,7 @@ jobs:
|
|||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
|
||||
- name: Update inputs
|
||||
run: nix flake update
|
||||
|
||||
- run: nix build .#${{ matrix.package }} -L
|
||||
|
|
28
.github/workflows/nix-update-inputs.yml
vendored
28
.github/workflows/nix-update-inputs.yml
vendored
|
@ -1,28 +0,0 @@
|
|||
name: Nix
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # check daily
|
||||
|
||||
jobs:
|
||||
update:
|
||||
name: inputs
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.PAT }}
|
||||
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- name: Update inputs
|
||||
run: nix flake update
|
||||
|
||||
- name: Commit
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: "[gha] Nix: update inputs"
|
||||
|
||||
update-build:
|
||||
needs: update
|
||||
uses: ./.github/workflows/nix-build.yml
|
Loading…
Reference in a new issue