From f25607f34840f1eb97fae1d91d920ff12a350666 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 5 Sep 2022 14:24:35 +0200 Subject: [PATCH] update url --- dist/setup/index.js | 2 +- src/distributions/microsoft/installer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index f7bfb08a..96d71a1d 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -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; }); } diff --git a/src/distributions/microsoft/installer.ts b/src/distributions/microsoft/installer.ts index f4d268f7..9daf2415 100644 --- a/src/distributions/microsoft/installer.ts +++ b/src/distributions/microsoft/installer.ts @@ -101,7 +101,7 @@ export class MicrosoftDistributions extends JavaBase { const token = core.getInput('token'); const manifest = ( await this.http.getJson( - '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;