mirror of
https://github.com/mozilla-actions/sccache-action
synced 2026-09-07 20:04:02 +00:00
Vendored
+1
-1
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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