From e15d7a645fd67697d782fac26cad78470be691c8 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Mon, 26 Jun 2023 12:42:13 -0400 Subject: [PATCH 1/2] Enable the magic cacher action on macOS. --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d986e56..8d39c48 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,7 +14,7 @@ jobs: - uses: DeterminateSystems/nix-installer-action@v4 - # - uses: DeterminateSystems/magic-nix-cache-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main - name: Build package run: "nix build .# -L" From 0b397beb7f21fd7167a7170b04011424b4a84353 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Mon, 26 Jun 2023 13:21:22 -0400 Subject: [PATCH 2/2] Enable fallback. --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8d39c48..15c65d3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -17,7 +17,7 @@ jobs: - uses: DeterminateSystems/magic-nix-cache-action@main - name: Build package - run: "nix build .# -L" + run: "nix build .# -L --fallback" - name: Upload a Build Artifact uses: actions/upload-artifact@v3.1.2 @@ -39,7 +39,7 @@ jobs: - uses: DeterminateSystems/magic-nix-cache-action@main - name: Build package - run: "nix build .# -L" + run: "nix build .# -L --fallback" - name: Upload a Build Artifact uses: actions/upload-artifact@v3.1.2