Fix build

Signed-off-by: Xuanwo <github@xuanwo.io>
This commit is contained in:
Xuanwo
2023-01-09 23:32:10 +08:00
parent 4e31d5bef4
commit 83838b1674
2 changed files with 4 additions and 2 deletions

View File

@@ -10,7 +10,9 @@ async function setup() {
const version = core.getInput('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);
// Download and extract.