Skip to content

Commit 71b9d35

Browse files
fix dependencies
1 parent ecea7f7 commit 71b9d35

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.forgejo/workflows/cache.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: nixos-unstable
77
steps:
88
- name: Install node
9-
run: nix profile install nixpkgs#nodejs_latest
9+
run: nix profile add nixpkgs#nodejs_latest
1010
- name: Checkout repository
1111
uses: https://data.forgejo.org/actions/checkout@v6
1212
- name: Setup cachix
@@ -18,7 +18,7 @@ jobs:
1818
extraPullNames: nix-community,hyprland,niri,nix-on-droid
1919
skipPush: true
2020
- name: Install omnix
21-
run: nix profile install nixpkgs#omnix github:juspay/cachix-push
21+
run: nix profile add nixpkgs#omnix github:juspay/cachix-push
2222
- name: Build output
2323
run: om ci run --results=/om.json
2424
- name: Push to cache

.forgejo/workflows/check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
runs-on: nixos-unstable
1010
steps:
1111
- name: Install node
12-
run: nix profile install nixpkgs#nodejs_latest
12+
run: nix profile add nixpkgs#nodejs_latest
1313
- name: Checkout repository
1414
uses: https://data.forgejo.org/actions/checkout@v6
1515
- name: Check code
1616
run: nix fmt -- --ci
1717
- name: Check flake
1818
run: nix flake check --all-systems
1919
cache:
20-
needs: build
20+
needs: check
2121
uses: ./.forgejo/workflows/cache.yml
2222
secrets: inherit

.forgejo/workflows/update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: nixos-unstable
99
steps:
1010
- name: Install node
11-
run: nix profile install nixpkgs#nodejs_latest
11+
run: nix profile add nixpkgs#nodejs_latest
1212
- name: Checkout repository
1313
uses: https://data.forgejo.org/actions/checkout@v6
1414
- name: Update flake.lock
@@ -22,6 +22,6 @@ jobs:
2222
git commit -m "Update Flake Inputs: $(date +%F)" --author "flake-update[bot] <>"
2323
git push
2424
cache:
25-
needs: build
25+
needs: update
2626
uses: ./.forgejo/workflows/cache.yml
2727
secrets: inherit

0 commit comments

Comments
 (0)