Skip to content

Commit

Permalink
Update nix.yml to latest setup-nix-with-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
enobayram committed Aug 29, 2023
1 parent bc9112c commit 580ed02
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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: |
Expand Down

0 comments on commit 580ed02

Please sign in to comment.