Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update url
  • Loading branch information
dmitry-shibanov committed Sep 5, 2022
commit f25607f34840f1eb97fae1d91d920ff12a350666
2 changes: 1 addition & 1 deletion dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102468,7 +102468,7 @@ class MicrosoftDistributions extends base_installer_1.JavaBase {
// TODO get these dynamically!
// We will need Microsoft to add an endpoint where we can query for versions.
const token = core.getInput('token');
const manifest = (yield this.http.getJson('https://github.com/dmitry-shibanov/setup-java/tree/add-json-for-microsoft-versions', { authorization: token })).result;
const manifest = (yield this.http.getJson('https://github.com/dmitry-shibanov/setup-java/blob/add-json-for-microsoft-versions/microsoft-build-of-openjdk-versions.json', { authorization: token })).result;
return manifest;
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/distributions/microsoft/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class MicrosoftDistributions extends JavaBase {
const token = core.getInput('token');
const manifest = (
await this.http.getJson<tc.IToolRelease[]>(
'https://github.com/dmitry-shibanov/setup-java/tree/add-json-for-microsoft-versions',
'https://github.com/dmitry-shibanov/setup-java/blob/add-json-for-microsoft-versions/microsoft-build-of-openjdk-versions.json',
{ authorization: token }
)
).result;
Expand Down