This commit is contained in:
Dmitry Shibanov 2022-09-05 15:00:18 +02:00
parent afb8d2e48a
commit e2b8e57140
2 changed files with 5 additions and 2 deletions

View file

@ -105,12 +105,14 @@ export class MicrosoftDistributions extends JavaBase {
// We will need Microsoft to add an endpoint where we can query for versions.
const token = core.getInput('token');
const manifest = (
await this.http.getJson<IToolRelease[]>(
await this.http.getJson<any>(
'https://github.com/dmitry-shibanov/setup-java/blob/add-json-for-microsoft-versions/microsoft-build-of-openjdk-versions.json',
{ authorization: token }
)
).result;
core.info(manifest);
return manifest;
}