Upgrade cache version
This commit is contained in:
parent
60cf1c4df7
commit
faf73f12ce
|
@ -24,7 +24,7 @@ jobs:
|
||||||
run: sed -i '/^access-tokens/d' /etc/nix/nix.conf
|
run: sed -i '/^access-tokens/d' /etc/nix/nix.conf
|
||||||
|
|
||||||
- name: Cache Nix store
|
- name: Cache Nix store
|
||||||
uses: actions/cache@v3.0.8
|
uses: actions/cache@v3.3.1
|
||||||
id: nix-cache
|
id: nix-cache
|
||||||
with:
|
with:
|
||||||
path: /tmp/nixcache
|
path: /tmp/nixcache
|
||||||
|
@ -39,7 +39,9 @@ jobs:
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./pi-imgs/pi-initial.nix --argstr system aarch64-linux
|
run: nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./pi-imgs/pi-initial.nix --argstr system aarch64-linux
|
||||||
- uses: https://github.com/actions/upload-artifact@v3.1.2
|
|
||||||
|
- name: Upload img file
|
||||||
|
uses: https://github.com/actions/upload-artifact@v3.1.2
|
||||||
with:
|
with:
|
||||||
path: result/sd-image/*.img
|
path: result/sd-image/*.img
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue