Skip to content

Commit

Permalink
try fix nix cache
Browse files Browse the repository at this point in the history
Signed-off-by: Thing-han, Lim <[email protected]>
  • Loading branch information
potsrevennil committed Oct 14, 2024
1 parent 72e0c5d commit 7005190
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/setup-nix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ runs:
echo "::group::nix config check"
nix config check
nix config show
if [[ ${{ inputs.cache == 'true' }} ]]; then
nix show-config --extra-substituters http://127.0.0.1:37515?trusted=1&compression=zstd&parallel-compression=true&priority=1
fi
echo NIX_SHELL="${{ inputs.devShell }}" >> $GITHUB_ENV
nix_extra_flags="${{ inputs.verbose == 'false' && '--quiet' || '' }}"
echo SHELL="$(which nix) develop $nix_extra_flags .#${{ inputs.devShell }} -c bash -e {0}" >> $GITHUB_ENV
Expand Down

0 comments on commit 7005190

Please sign in to comment.