change owner and branch for testing

This commit is contained in:
Dmitry Shibanov 2023-12-20 11:43:30 +01:00
parent a41474536d
commit c000d4c923
2 changed files with 4 additions and 4 deletions

4
dist/setup/index.js vendored
View File

@ -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}`;

View File

@ -88,9 +88,9 @@ export class MicrosoftDistributions extends JavaBase {
private async getAvailableVersions(): Promise<tc.IToolRelease[] | null> {
// 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';