mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
Default to runner architecture (#376)
This commit is contained in:
parent
a82e6d0020
commit
3617c43588
16 changed files with 303 additions and 42 deletions
|
@ -88,7 +88,7 @@ export class AdoptDistribution extends JavaBase {
|
|||
|
||||
private async getAvailableVersions(): Promise<IAdoptAvailableVersions[]> {
|
||||
const platform = this.getPlatformOption();
|
||||
const arch = this.architecture;
|
||||
const arch = this.distributionArchitecture();
|
||||
const imageType = this.packageType;
|
||||
const versionRange = encodeURI('[1.0,100.0]'); // retrieve all available versions
|
||||
const releaseType = this.stable ? 'ga' : 'ea';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue