mirror of
https://github.com/mozilla-actions/sccache-action
synced 2026-09-14 20:13:56 +00:00
Vendored
+1
-1
@@ -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.
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ async function setup() {
|
||||
|
||||
// Download and extract.
|
||||
const sccachePackage = await downloadTool(downloadUrl);
|
||||
const sccachePath = (await extractTar(sccachePackage)) + `/sccache`;
|
||||
const sccachePath = await extractTar(sccachePackage);
|
||||
|
||||
// Cache sccache.
|
||||
const sccacheHome = await cacheDir(sccachePath, 'sccache', version);
|
||||
|
||||
Reference in New Issue
Block a user