mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 01:46:46 +00:00
minor changes
This commit is contained in:
parent
109e9d0241
commit
244aafd0a2
2 changed files with 2 additions and 2 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -102460,7 +102460,7 @@ class MicrosoftDistributions extends base_installer_1.JavaBase {
|
||||||
.map(item => item.version)
|
.map(item => item.version)
|
||||||
.join(', ')}`);
|
.join(', ')}`);
|
||||||
}
|
}
|
||||||
return { url: foundRelease.release_url, version: foundRelease.version };
|
return { url: foundRelease.files[0].download_url, version: foundRelease.version };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
getAvailableVersions() {
|
getAvailableVersions() {
|
||||||
|
|
|
@ -97,7 +97,7 @@ export class MicrosoftDistributions extends JavaBase {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return { url: foundRelease.release_url, version: foundRelease.version };
|
return { url: foundRelease.files[0].download_url, version: foundRelease.version };
|
||||||
}
|
}
|
||||||
|
|
||||||
private async getAvailableVersions(): Promise<tc.IToolRelease[] | null> {
|
private async getAvailableVersions(): Promise<tc.IToolRelease[] | null> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue