Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function restoreBundleFromCache(rubyVersion) {
core.startGroup(`Restore Bundle from Cache`)
const key = bundleCacheKey(rubyVersion)
core.info(`restore using ${key}`)
await cache.restoreCache(bundleCachePaths(rubyVersion), key, [key])
core.endGroup()
}
async function restoreRubyFromCache(rubyVersion) {
core.startGroup(`Restore Ruby from Cache`)
const key = rubyCacheKey(rubyVersion)
await cache.restoreCache(rubyCachePaths(rubyVersion), key, [key])
core.endGroup()
}