mirror of
https://github.com/actions/setup-java.git
synced 2025-06-29 04:24:14 +00:00
remove debug line and revert owner, branch
This commit is contained in:
parent
dbc0c85f6f
commit
eed97a9597
2 changed files with 5 additions and 6 deletions
|
@ -27,7 +27,7 @@ export class MicrosoftDistributions extends JavaBase {
|
|||
`Downloading Java ${javaRelease.version} (${this.distribution}) from ${javaRelease.url} ...`
|
||||
);
|
||||
let javaArchivePath = await tc.downloadTool(javaRelease.url);
|
||||
core.info(`javaArchivePath is ${javaArchivePath}`);
|
||||
|
||||
core.info(`Extracting Java archive...`);
|
||||
const extension = getDownloadArchiveExtension();
|
||||
if (process.platform === 'win32' && (this.architecture === 'arm64' || this.architecture === 'aarch64')) {
|
||||
|
@ -93,9 +93,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 = 'dmitry-shibanov';
|
||||
const owner = 'actions';
|
||||
const repository = 'setup-java';
|
||||
const branch = 'v-dmshib/add-arm64-windows-microsoft';
|
||||
const branch = 'main';
|
||||
const filePath =
|
||||
'src/distributions/microsoft/microsoft-openjdk-versions.json';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue