From 580ed0220152b180e554c574dd93811dea37e84a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enis=20Bayramo=C4=9Flu?= Date: Tue, 29 Aug 2023 15:54:53 +0200 Subject: [PATCH] Update nix.yml to latest setup-nix-with-cache --- .github/workflows/nix.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 7ffe4e2b2..fe67d9be9 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -19,7 +19,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 +31,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: |