change remote

This commit is contained in:
Dmitry Shibanov 2022-09-22 16:14:28 +02:00
parent 6d8e12d483
commit 70ee3e0c5c
2 changed files with 4 additions and 4 deletions

4
dist/setup/index.js vendored
View file

@ -104456,9 +104456,9 @@ class MicrosoftDistributions extends base_installer_1.JavaBase {
// TODO get these dynamically! // TODO get these dynamically!
// We will need Microsoft to add an endpoint where we can query for versions. // We will need Microsoft to add an endpoint where we can query for versions.
const token = core.getInput('token'); const token = core.getInput('token');
const owner = 'dmitry-shibanov'; const owner = 'actions';
const repository = 'setup-java'; const repository = 'setup-java';
const branch = 'add-json-for-microsoft-versions'; const branch = 'main';
const filePath = 'src/distributions/microsoft/microsoft-openjdk-versions.json'; const filePath = 'src/distributions/microsoft/microsoft-openjdk-versions.json';
let releases = null; let releases = null;
const fileUrl = `https://api.github.com/repos/${owner}/${repository}/contents/${filePath}?ref=${branch}`; const fileUrl = `https://api.github.com/repos/${owner}/${repository}/contents/${filePath}?ref=${branch}`;

View file

@ -72,9 +72,9 @@ export class MicrosoftDistributions extends JavaBase {
// TODO get these dynamically! // TODO get these dynamically!
// We will need Microsoft to add an endpoint where we can query for versions. // We will need Microsoft to add an endpoint where we can query for versions.
const token = core.getInput('token'); const token = core.getInput('token');
const owner = 'dmitry-shibanov'; const owner = 'actions';
const repository = 'setup-java'; const repository = 'setup-java';
const branch = 'add-json-for-microsoft-versions'; const branch = 'main';
const filePath = 'src/distributions/microsoft/microsoft-openjdk-versions.json'; const filePath = 'src/distributions/microsoft/microsoft-openjdk-versions.json';
let releases: tc.IToolRelease[] | null = null; let releases: tc.IToolRelease[] | null = null;