mirror of
https://github.com/mozilla-actions/sccache-action
synced 2026-09-14 20:13:56 +00:00
Vendored
+1
-1
@@ -74,7 +74,7 @@ function getFilename(version) {
|
|||||||
return `sccache-${version}-${getArch()}-${getPlatform()}.${getExtension()}`;
|
return `sccache-${version}-${getArch()}-${getPlatform()}.${getExtension()}`;
|
||||||
}
|
}
|
||||||
function getDirname(version) {
|
function getDirname(version) {
|
||||||
return `sccache-${version}-${getArch()}-${getPlatform()}}`;
|
return `sccache-${version}-${getArch()}-${getPlatform()}`;
|
||||||
}
|
}
|
||||||
function getArch() {
|
function getArch() {
|
||||||
switch (process.arch) {
|
switch (process.arch) {
|
||||||
|
|||||||
+1
-1
@@ -51,7 +51,7 @@ function getFilename(version: string): Error | string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getDirname(version: string): Error | string {
|
function getDirname(version: string): Error | string {
|
||||||
return `sccache-${version}-${getArch()}-${getPlatform()}}`;
|
return `sccache-${version}-${getArch()}-${getPlatform()}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getArch(): Error | string {
|
function getArch(): Error | string {
|
||||||
|
|||||||
Reference in New Issue
Block a user