update url

This commit is contained in:
Dmitry Shibanov 2022-09-05 14:21:46 +02:00
parent 37bedf2b88
commit 5c11592098
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -102468,7 +102468,7 @@ class MicrosoftDistributions extends base_installer_1.JavaBase {
// TODO get these dynamically! // TODO get these dynamically!
// We will need Microsoft to add an endpoint where we can query for versions. // We will need Microsoft to add an endpoint where we can query for versions.
const token = core.getInput('token'); const token = core.getInput('token');
const manifest = (yield this.http.getJson('https://github.com/dmitry-shibanov/setup-java/tree/main', { authorization: token })).result; const manifest = (yield this.http.getJson('https://github.com/dmitry-shibanov/setup-java/tree/add-json-for-microsoft-versions', { authorization: token })).result;
return manifest; return manifest;
}); });
} }

View file

@ -101,7 +101,7 @@ export class MicrosoftDistributions extends JavaBase {
const token = core.getInput('token'); const token = core.getInput('token');
const manifest = ( const manifest = (
await this.http.getJson<tc.IToolRelease[]>( await this.http.getJson<tc.IToolRelease[]>(
'https://github.com/dmitry-shibanov/setup-java/tree/main', 'https://github.com/dmitry-shibanov/setup-java/tree/add-json-for-microsoft-versions',
{ authorization: token } { authorization: token }
) )
).result; ).result;