Open ghuntley opened 11 months ago
Hey @ghuntley, thanks for reporting this! The team is working on support nix
natively in our cache action.
In the meantime, this workaround could get you unblocked: https://github.com/namespace-integration-demos/nix-cache-example/blob/main/.github/workflows/demo.yaml#L38-L42C33.
Confirming that bind mount into the cache volume works. Reduced 4mins off basic build of my monorepo :)
Intention:
namespacelabs/nscloud-cache-action
to persist/nix
across runsError:
https://github.com/ghuntley/ghuntley/actions/runs/7289014044/job/19862751390
Config:
https://github.com/ghuntley/ghuntley/blob/598bf1bd5cfe90ba8106ced4103dbc3eba5c6781/.github/workflows/build.yml