cache
cache copied to clipboard
Post run step for `julia-actions/cache@v1` has mysterious failure
The step itself doesn't fail but maybe it should?
Post job cleanup.
Post job cleanup.
Active manifest files: 2 found
Active artifact files: 9 found
Active scratchspaces: 1 found
Deleted no artifacts, repos, packages or scratchspaces
X Failed to get caches: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/x/y/actions/caches?per_page=100&sort=last_accessed_at&direction=desc)
┌ Error: An error occurred while managing existing caches
│ e =
│ failed process: Process(`gh cache list --limit 100 --repo x/y`, ProcessExited(1)) [1]
│
└ @ Main ~/work/_actions/julia-actions/cache/v1/handle_caches.jl:64
Post job cleanup.
/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/work/y/y --files-from manifest.txt --use-compress-program zstdmt
Cache Size: ~46 MB (48449480 B)
Cache saved successfully
It's a soft fail because it's just doing tidyup. Can you try adding the permissions here https://github.com/julia-actions/cache#usage
And if that fixes it I can add that tip to the error message. And perhaps make the error a less alarming warning/info.
The options are to either add the permissions as you mentioned or disable cache cleanup with delete-old-caches: false to skip the cleanup.