Create the .complete file so tc.find() can find it for future runs for self-hosted runners

This commit is contained in:
Benoit Daloze
2020-12-05 16:36:46 +01:00
parent 42fc2d3bce
commit 23b2b5e5f1
4 changed files with 31 additions and 4 deletions
+4
View File
@@ -60,6 +60,10 @@ async function downloadAndExtract(platform, engine, version, rubyPrefix) {
await exec.exec('tar', ['-xz', '-C', parentDir, '-f', downloadPath])
}
})
if (common.shouldUseToolCache(engine, version)) {
common.createToolCacheCompleteFile(rubyPrefix)
}
}
function getDownloadURL(platform, engine, version) {