From c000d4c9231d6f4e6227ce97d2db09ae2dd69786 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Wed, 20 Dec 2023 11:43:30 +0100 Subject: [PATCH] change owner and branch for testing --- 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 916f488b..1ff1ae6f 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -124009,9 +124009,9 @@ class MicrosoftDistributions extends base_installer_1.JavaBase { return __awaiter(this, void 0, void 0, function* () { // TODO get these dynamically! // We will need Microsoft to add an endpoint where we can query for versions. - const owner = 'actions'; + const owner = 'dmitry-shibanov'; const repository = 'setup-java'; - const branch = 'main'; + const branch = 'v-dmshib/add-arm64-windows-microsoft'; 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 6feafabc..3dfc398a 100644 --- a/src/distributions/microsoft/installer.ts +++ b/src/distributions/microsoft/installer.ts @@ -88,9 +88,9 @@ export class MicrosoftDistributions extends JavaBase { private async getAvailableVersions(): Promise { // TODO get these dynamically! // We will need Microsoft to add an endpoint where we can query for versions. - const owner = 'actions'; + const owner = 'dmitry-shibanov'; const repository = 'setup-java'; - const branch = 'main'; + const branch = 'v-dmshib/add-arm64-windows-microsoft'; const filePath = 'src/distributions/microsoft/microsoft-openjdk-versions.json';