File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 if : steps.presence.outputs.exists == '1' && runner.environment != 'github-hosted'
9090 run : rm -rf build_${{ matrix.coin }}
9191
92+ - name : Clear orphaned Conan download tempfiles (self-hosted cache is reused)
93+ if : steps.presence.outputs.exists == '1' && runner.environment != 'github-hosted'
94+ # An interrupted or racing conan download can leave a partial conan_package.tgz
95+ # in ~/.conan2 that makes the next `conan install` abort with
96+ # "the file to download already exists". Delete these staging archives so a
97+ # missing binary package can be re-fetched cleanly; extracted packages are untouched.
98+ run : |
99+ find ~/.conan2/p -type f \( -name 'conan_package.tgz' -o -name 'conan_sources.tgz' \) -delete 2>/dev/null || true
100+
92101 - name : Conan install
93102 if : steps.presence.outputs.exists == '1'
94103 run : |
You can’t perform that action at this time.
0 commit comments