mirror of
https://github.com/Mozilla-Actions/sccache-action.git
synced 2026-04-08 17:42:13 +08:00
Merge pull request #193 from brianmichel/brian/use-tar-on-all-platforms
Use tar on all platforms
This commit is contained in:
@@ -160,12 +160,7 @@ function getPlatform(): Error | string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getExtension(): string {
|
function getExtension(): string {
|
||||||
switch (process.platform) {
|
return 'tar.gz';
|
||||||
case 'win32':
|
|
||||||
return 'zip';
|
|
||||||
default:
|
|
||||||
return 'tar.gz';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setup().catch(err => {
|
setup().catch(err => {
|
||||||
|
|||||||
Reference in New Issue
Block a user