From 35c93707dec8d0bf0e6e403e8118ef194d809d3a Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 18 Jun 2024 12:25:21 -0500 Subject: [PATCH] use system path in CI --- .github/workflows/build.yml | 3 ++- .github/workflows/push.yml | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b8c09f..fd59736 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,5 +53,6 @@ jobs: - name: Build run: | for host in ${{ inputs.host }}; do - nix run . --accept-flake-config -- cache --host "$host" --flake . + cachix watch-exec daylin -- nix build --print-build-logs "$(nix run . -- output --system-path --host "$host" --flake .)^*" + # nix run . --accept-flake-config -- cache --host "$host" --flake . done diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index cc83036..af5fddd 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -13,12 +13,12 @@ concurrency: cancel-in-progress: true jobs: - checks: - uses: ./.github/workflows/checks.yml - secrets: inherit - + # checks: + # uses: ./.github/workflows/checks.yml + # secrets: inherit + build: - needs: checks + # needs: checks strategy: max-parallel: 1 matrix: