Skip to content
Snippets Groups Projects
Commit ffe18d93 authored by Yaroslav Dynnikov's avatar Yaroslav Dynnikov
Browse files

fix(ci): concurrent cache access

Saving cache isn't instantaneous. Usually it takes about a minute.
If another job tries to restore cache at the same time, it fails
with the error "tar: Unexpected EOF in archive".

Now tar writes to a different filename with a random suffix, and then
renames it atomically.
parent 3b274b4e
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment