mirror of
https://github.com/Mozilla-Actions/sccache-action.git
synced 2026-04-17 19:14:05 +08:00
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -74,7 +74,7 @@ function getFilename(version) {
|
||||
return `sccache-${version}-${getArch()}-${getPlatform()}.${getExtension()}`;
|
||||
}
|
||||
function getDirname(version) {
|
||||
return `sccache-${version}-${getArch()}-${getPlatform()}}`;
|
||||
return `sccache-${version}-${getArch()}-${getPlatform()}`;
|
||||
}
|
||||
function getArch() {
|
||||
switch (process.arch) {
|
||||
|
||||
@@ -51,7 +51,7 @@ function getFilename(version: string): Error | string {
|
||||
}
|
||||
|
||||
function getDirname(version: string): Error | string {
|
||||
return `sccache-${version}-${getArch()}-${getPlatform()}}`;
|
||||
return `sccache-${version}-${getArch()}-${getPlatform()}`;
|
||||
}
|
||||
|
||||
function getArch(): Error | string {
|
||||
|
||||
Reference in New Issue
Block a user