Skip to content

Commit

Permalink
Add the recursive output to nix.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
enobayram committed Nov 16, 2023
1 parent f580608 commit e237e86
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ jobs:
uses: actions/checkout@v3

- name: Set up Nix with caching
uses: kadena-io/setup-nix-with-cache/by-root@v3
uses: kadena-io/setup-nix-with-cache/by-root@v3.1
with:
cache_url: s3://nixcache.chainweb.com?region=us-east-1
signing_private_key: ${{ secrets.NIX_CACHE_PRIVATE_KEY }}
additional_experimental_features: recursive-nix

- name: Set up AWS credentials
uses: aws-actions/configure-aws-credentials@v2
Expand All @@ -34,9 +35,12 @@ jobs:
aws-region: us-east-1

- name: Give root user AWS credentials
uses: kadena-io/setup-nix-with-cache/copy-root-aws-credentials@v3
uses: kadena-io/setup-nix-with-cache/copy-root-aws-credentials@v3.1

- name: Build and cache artifacts
run: |
echo Building the project
nix build .#check --log-lines 500 --show-trace
echo Build the recursive output
nix build .#recursive.allDerivations --log-lines 500 --show-trace

0 comments on commit e237e86

Please sign in to comment.