From 70ee3e0c5cc4cd425d5b1bac0216c7125dd96697 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Thu, 22 Sep 2022 16:14:28 +0200 Subject: [PATCH] change remote --- dist/setup/index.js | 4 ++-- src/distributions/microsoft/installer.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index e58a8308..e19da558 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -104456,9 +104456,9 @@ 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 owner = 'dmitry-shibanov'; + const owner = 'actions'; const repository = 'setup-java'; - const branch = 'add-json-for-microsoft-versions'; + const branch = 'main'; const filePath = 'src/distributions/microsoft/microsoft-openjdk-versions.json'; let releases = null; const fileUrl = `https://api.github.com/repos/${owner}/${repository}/contents/${filePath}?ref=${branch}`; diff --git a/src/distributions/microsoft/installer.ts b/src/distributions/microsoft/installer.ts index 2d5518ad..4a7264da 100644 --- a/src/distributions/microsoft/installer.ts +++ b/src/distributions/microsoft/installer.ts @@ -72,9 +72,9 @@ export class MicrosoftDistributions extends 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 owner = 'dmitry-shibanov'; + const owner = 'actions'; const repository = 'setup-java'; - const branch = 'add-json-for-microsoft-versions'; + const branch = 'main'; const filePath = 'src/distributions/microsoft/microsoft-openjdk-versions.json'; let releases: tc.IToolRelease[] | null = null;