Skip to content

Commit e5db1c4

Browse files
committed
Prefetch inputs why not
1 parent e257db1 commit e5db1c4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ jobs:
108108
FLAKE_ITER_FLAKEREF: ${{ inputs.flake-iter-flakeref }}
109109
working-directory: ${{ inputs.directory }}
110110
run: |
111+
nix flake prefetch-inputs "$FLAKE_ITER_FLAKEREF"
112+
nix flake prefetch-inputs
111113
nix run "$FLAKE_ITER_FLAKEREF" -- systems
112114
build:
113115
runs-on: ${{ matrix.systems.runner }}
@@ -134,7 +136,10 @@ jobs:
134136
FLAKE_ITER_NIX_SYSTEM: ${{ matrix.systems.nix-system }}
135137
FLAKE_ITER_FLAKEREF: ${{ inputs.flake-iter-flakeref }}
136138
working-directory: ${{ inputs.directory }}
137-
run: nix run "$FLAKE_ITER_FLAKEREF" -- --verbose build
139+
run: |
140+
nix flake prefetch-inputs "$FLAKE_ITER_FLAKEREF"
141+
nix flake prefetch-inputs
142+
nix run "$FLAKE_ITER_FLAKEREF" -- --verbose build
138143
139144
success:
140145
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)