CI: Split check and build into separate steps
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 14m34s
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 14m34s
This commit is contained in:
parent
4d345f467f
commit
a9a6409034
@ -28,11 +28,11 @@ jobs:
|
|||||||
nix run .#nixpkgs.mine.x86_64-linux.attic-client -- \
|
nix run .#nixpkgs.mine.x86_64-linux.attic-client -- \
|
||||||
login --set-default colony https://nix-cache.nul.ie "${{ secrets.NIX_CACHE_TOKEN }}"
|
login --set-default colony https://nix-cache.nul.ie "${{ secrets.NIX_CACHE_TOKEN }}"
|
||||||
|
|
||||||
- name: Check and build flake
|
- name: Check flake
|
||||||
|
run: nix flake check
|
||||||
|
- name: Build the world
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
nix flake check
|
|
||||||
|
|
||||||
path=$(nix build --no-link .#ci.x86_64-linux --json | jq -r .[0].outputs.out)
|
path=$(nix build --no-link .#ci.x86_64-linux --json | jq -r .[0].outputs.out)
|
||||||
echo "path=$path" >> "$GITHUB_OUTPUT"
|
echo "path=$path" >> "$GITHUB_OUTPUT"
|
||||||
- name: Push to cache
|
- name: Push to cache
|
||||||
|
Loading…
Reference in New Issue
Block a user