cache-nix-action icon indicating copy to clipboard operation
cache-nix-action copied to clipboard

Cache Nix store in GitHub Actions to speed up workflows [maintainer=@deemp]

Results 25 cache-nix-action issues
Sort by recently updated
recently updated
newest added

## Describe the bug Individual caches were created: - https://github.com/nix-community/cache-nix-action/actions/runs/8902930565/job/24449803561#step:15:27 - https://github.com/nix-community/cache-nix-action/actions/runs/8902930565/job/24449803693#step:15:27 However, they weren't discovered: - https://github.com/nix-community/cache-nix-action/actions/runs/8902930565/job/24449974304#step:5:29 ## To Reproduce Run "Nix CI with BuildJet backend" at this [commit](https://github.com/nix-community/cache-nix-action/commit/8f880a6faa6368a7feb5b81f4a2d119bc2da63e4)....

## Description of a problem the feature solves Currently, cache merging is sequential. Therefore, the next cache is downloaded only after the former cache is unpacked. However, the next cache...

## Describe the bug Tests don't work. A `utils` file is missing ([link](https://github.com/actions/cache/blob/0c45773b623bea8c8e75f6c82b208c3cf94ea4f9/src/utils/testUtils.ts)). ## To Reproduce Run tests in this repo. ``` npm run test ``` ## Expected behavior Tests...

## Describe the bug I set `save-always: true`, but `c-n-a` didn't save the cache ([link](https://github.com/deemp/Serializable/actions/runs/8650215722/job/23718210999)). ## To Reproduce Run linked workflow in a fork. ## Expected behavior The cache is...

Hi, thanks for this awesome action! The question is how do I store the nix store even if some step is failing in the CI?

Before the upgrade to 5.0 `nix-env -iA tests` [was a no-op](https://github.com/PostgREST/postgrest/actions/runs/7612462322/job/20730540614#step:3:1784) because of the cache previously created in https://github.com/PostgREST/postgrest/actions/runs/7612462322/job/20730136624, after the upgrade it isn't anymore — https://github.com/PostgREST/postgrest/actions/runs/7614272320/job/20736483790#step:3:112. Note that tar...

It'd be nice to use the official `cache` package from the `actions/toolkit` repo. I created a PR https://github.com/actions/toolkit/pull/1699.

I see this in the last CI runs in `make-similar-caches` jobs. Why is that?

This thing happens occasionally. https://github.com/nix-community/cache-nix-action/actions/runs/7343243615/job/19993608165#step:5:35 ![image](https://github.com/nix-community/cache-nix-action/assets/48378098/370dc902-90d2-4c25-a141-3debe7fc31b8)

- [ ] save inputs (see https://github.com/NixOS/nix/issues/6895#issuecomment-1398687028) - [ ] save outputs - [ ] collect garbage - [ ] check no garbage is removed