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,13 +160,8 @@ function getPlatform(): Error | string {
|
||||
}
|
||||
|
||||
function getExtension(): string {
|
||||
switch (process.platform) {
|
||||
case 'win32':
|
||||
return 'zip';
|
||||
default:
|
||||
return 'tar.gz';
|
||||
}
|
||||
}
|
||||
|
||||
setup().catch(err => {
|
||||
core.error(err);
|
||||
|
||||
Reference in New Issue
Block a user