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 -- \
|
||||
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
|
||||
run: |
|
||||
nix flake check
|
||||
|
||||
path=$(nix build --no-link .#ci.x86_64-linux --json | jq -r .[0].outputs.out)
|
||||
echo "path=$path" >> "$GITHUB_OUTPUT"
|
||||
- name: Push to cache
|
||||
|
Loading…
Reference in New Issue
Block a user