From 5c11592098d013d412b3c28b73f4a148b91f7571 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 5 Sep 2022 14:21:46 +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 2f72b1de..f7bfb08a 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/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; }); } diff --git a/src/distributions/microsoft/installer.ts b/src/distributions/microsoft/installer.ts index 7cd96a37..f4d268f7 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/main', + 'https://github.com/dmitry-shibanov/setup-java/tree/add-json-for-microsoft-versions', { authorization: token } ) ).result;