mirror of
https://github.com/mozilla-actions/sccache-action
synced 2026-09-14 20:13:56 +00:00
Vendored
+1
-1
@@ -47,7 +47,7 @@ function setup() {
|
|||||||
// is not input.
|
// is not input.
|
||||||
const version = core.getInput('version');
|
const version = core.getInput('version');
|
||||||
console.log('try to setup for version: ', version);
|
console.log('try to setup for version: ', version);
|
||||||
const downloadUrl = `https://github.com/mozilla/sccache/releases/download/${version}/${getFilename}`;
|
const downloadUrl = `https://github.com/mozilla/sccache/releases/download/${version}/${getFilename(version)}`;
|
||||||
console.log('try to setup from url: ', downloadUrl);
|
console.log('try to setup from url: ', downloadUrl);
|
||||||
// Download and extract.
|
// Download and extract.
|
||||||
const sccachePackage = yield (0, tool_cache_1.downloadTool)(downloadUrl);
|
const sccachePackage = yield (0, tool_cache_1.downloadTool)(downloadUrl);
|
||||||
|
|||||||
+3
-1
@@ -10,7 +10,9 @@ async function setup() {
|
|||||||
const version = core.getInput('version');
|
const version = core.getInput('version');
|
||||||
console.log('try to setup for version: ', version);
|
console.log('try to setup for version: ', version);
|
||||||
|
|
||||||
const downloadUrl = `https://github.com/mozilla/sccache/releases/download/${version}/${getFilename}`;
|
const downloadUrl = `https://github.com/mozilla/sccache/releases/download/${version}/${getFilename(
|
||||||
|
version
|
||||||
|
)}`;
|
||||||
console.log('try to setup from url: ', downloadUrl);
|
console.log('try to setup from url: ', downloadUrl);
|
||||||
|
|
||||||
// Download and extract.
|
// Download and extract.
|
||||||
|
|||||||
Reference in New Issue
Block a user