nix-community / cache-nix-action

Cache Nix store in GitHub Actions to speed up workflows [maintainer=@deemp]
MIT License
29 stars 6 forks source link

Fix Warning: Resource not accessible by integration #13

Open deemp opened 9 months ago

deemp commented 9 months ago

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

meatcar commented 2 months ago

I was getting the same error. Now fixed. My repository's action settings didn't have write permissions to manage the cache. Settings > Actions > General > Workflow permissions, check Read and write permissions.

See the first answer here: https://stackoverflow.com/a/76199390