mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
run format and build
This commit is contained in:
parent
eed97a9597
commit
d98fd1728d
2 changed files with 6 additions and 2 deletions
|
@ -30,7 +30,10 @@ export class MicrosoftDistributions extends JavaBase {
|
|||
|
||||
core.info(`Extracting Java archive...`);
|
||||
const extension = getDownloadArchiveExtension();
|
||||
if (process.platform === 'win32' && (this.architecture === 'arm64' || this.architecture === 'aarch64')) {
|
||||
if (
|
||||
process.platform === 'win32' &&
|
||||
(this.architecture === 'arm64' || this.architecture === 'aarch64')
|
||||
) {
|
||||
const javaArchivePathRenamed = `${javaArchivePath}.zip`;
|
||||
await fs.renameSync(javaArchivePath, javaArchivePathRenamed);
|
||||
javaArchivePath = javaArchivePathRenamed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue