From a9a640903487858a557b4fca6f5f2a5664ec2ab4 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Fri, 17 Nov 2023 23:47:11 +0000 Subject: [PATCH] CI: Split check and build into separate steps --- .gitea/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 3dd8537..129a4a4 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -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