mirror of
https://github.com/actions/setup-java.git
synced 2025-04-19 17:36:45 +00:00
change owner and branch for testing
This commit is contained in:
parent
a41474536d
commit
c000d4c923
2 changed files with 4 additions and 4 deletions
4
dist/setup/index.js
vendored
4
dist/setup/index.js
vendored
|
@ -124009,9 +124009,9 @@ class MicrosoftDistributions extends base_installer_1.JavaBase {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
// 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 owner = 'actions';
|
const owner = 'dmitry-shibanov';
|
||||||
const repository = 'setup-java';
|
const repository = 'setup-java';
|
||||||
const branch = 'main';
|
const branch = 'v-dmshib/add-arm64-windows-microsoft';
|
||||||
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}`;
|
||||||
|
|
|
@ -88,9 +88,9 @@ export class MicrosoftDistributions extends JavaBase {
|
||||||
private async getAvailableVersions(): Promise<tc.IToolRelease[] | null> {
|
private async getAvailableVersions(): Promise<tc.IToolRelease[] | null> {
|
||||||
// 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 owner = 'actions';
|
const owner = 'dmitry-shibanov';
|
||||||
const repository = 'setup-java';
|
const repository = 'setup-java';
|
||||||
const branch = 'main';
|
const branch = 'v-dmshib/add-arm64-windows-microsoft';
|
||||||
const filePath =
|
const filePath =
|
||||||
'src/distributions/microsoft/microsoft-openjdk-versions.json';
|
'src/distributions/microsoft/microsoft-openjdk-versions.json';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue