cache devshell in ci
This commit is contained in:
parent
ab1fcc8207
commit
8ba2c6cc9b
1 changed files with 11 additions and 1 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -42,7 +42,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- run: nix build -L .
|
- name: cache devshell
|
||||||
|
run: |
|
||||||
|
nix build .#devShells.$(nix eval --impure --raw --expr 'builtins.currentSystem').default
|
||||||
|
nix run \
|
||||||
|
github:cything/nixcp/test-in-ci -- push \
|
||||||
|
--bucket nixcache \
|
||||||
|
--signing-key ${{ runner.temp }}/cache-priv-key.pem \
|
||||||
|
result
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
run: nix build -L .
|
||||||
|
|
||||||
- name: cache
|
- name: cache
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue