mirror of
https://github.com/Mozilla-Actions/sccache-action.git
synced 2026-04-18 19:22:35 +08:00
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -51,7 +51,7 @@ function setup() {
|
||||
console.log('try to setup from url: ', downloadUrl);
|
||||
// Download and extract.
|
||||
const sccachePackage = yield (0, tool_cache_1.downloadTool)(downloadUrl);
|
||||
const sccachePath = (yield (0, tool_cache_1.extractTar)(sccachePackage)) + `/sccache`;
|
||||
const sccachePath = yield (0, tool_cache_1.extractTar)(sccachePackage);
|
||||
// Cache sccache.
|
||||
const sccacheHome = yield (0, tool_cache_1.cacheDir)(sccachePath, 'sccache', version);
|
||||
// Add cached sccache into path.
|
||||
|
||||
Reference in New Issue
Block a user