mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 09:56:46 +00:00
Format my code w/ prettier
This commit is contained in:
parent
7e83eb111a
commit
148d9af0a6
1 changed files with 8 additions and 4 deletions
|
@ -156,10 +156,14 @@ export class TemurinDistribution extends JavaBase {
|
||||||
|
|
||||||
private osArchToDistributionArch(osArch: string): string {
|
private osArchToDistributionArch(osArch: string): string {
|
||||||
switch (osArch) {
|
switch (osArch) {
|
||||||
case 'amd64': return 'x64';
|
case 'amd64':
|
||||||
case 'ia32': return 'x32';
|
return 'x64';
|
||||||
case 'arm64': return 'aarch64';
|
case 'ia32':
|
||||||
default: return osArch;
|
return 'x32';
|
||||||
|
case 'arm64':
|
||||||
|
return 'aarch64';
|
||||||
|
default:
|
||||||
|
return osArch;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue