Skip to content

Commit e237e86

Browse files
committed
Add the recursive output to nix.yml
1 parent f580608 commit e237e86

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/nix.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ jobs:
2121
uses: actions/checkout@v3
2222

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

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

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

3940
- name: Build and cache artifacts
4041
run: |
4142
echo Building the project
4243
nix build .#check --log-lines 500 --show-trace
44+
45+
echo Build the recursive output
46+
nix build .#recursive.allDerivations --log-lines 500 --show-trace

0 commit comments

Comments
 (0)