Skip to content

Commit 3288e0e

Browse files
committed
feat: add caching
1 parent 8b8223d commit 3288e0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/actions/install-nix/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ runs:
3232
echo "NIX_SSL_CERT_FILE=$CACERT/etc/ssl/certs/ca-bundle.crt" >> "$GITHUB_ENV"
3333
shell: bash
3434
env:
35-
INPUT_EXTRA_NIX_CONFIG: ${{ inputs.extra_nix_config }}
35+
INPUT_EXTRA_NIX_CONFIG: |
36+
${{ inputs.extra_nix_config }}
37+
substituters = s3://matrix-ai-nix-cache?profile=matrix-nix-cache&region=ap-southeast-2 https://cache.nixos.org/
38+
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= matrix-ai-nix-cache:yhxzASVutUGCY2o/U4jkiNVj06M6Fi1h94LiC5TkYBg=
3639
INPUT_GITHUB_ACCESS_TOKEN: ${{ inputs.github_access_token }}
3740
INPUT_INSTALL_OPTIONS: ${{ inputs.install_options }}
3841
INPUT_INSTALL_URL: ${{ inputs.install_url }}

0 commit comments

Comments
 (0)