From 0a33fab1650726ee3c380a73e7cf650ea7362ccc Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 29 Aug 2023 14:40:59 -0600 Subject: [PATCH] Update nix.yml to fix Mac runner cache nix builds will behave correctly like this --- .github/workflows/nix.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 7ffe4e2b2..6b8fd0951 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -3,9 +3,6 @@ name: Build and cache with Nix on: workflow_dispatch: push: - paths-ignore: - - '.github/**' - jobs: build-and-cache: @@ -19,7 +16,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Nix with caching - uses: kadena-io/setup-nix-with-cache@v2 + uses: kadena-io/setup-nix-with-cache/by-root@v3 with: cache_url: s3://nixcache.chainweb.com?region=us-east-1 signing_private_key: ${{ secrets.NIX_CACHE_PRIVATE_KEY }} @@ -31,6 +28,9 @@ jobs: aws-secret-access-key: ${{ secrets.NIX_CACHE_AWS_SECRET_ACCESS_KEY }} aws-region: us-east-1 + - name: Give root user AWS credentials + uses: kadena-io/setup-nix-with-cache/copy-root-aws-credentials@v3 + - name: Build and cache artifacts timeout-minutes: 740 run: |