mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
Fix Windows Support
This commit is contained in:
parent
ab5c653696
commit
e1f4c15fac
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ export class JetBrainsDistribution extends JavaBase {
|
|||
const javaArchivePath = await tc.downloadTool(javaRelease.url);
|
||||
|
||||
core.info(`Extracting Java archive...`);
|
||||
const extractedJavaPath = await extractJdkFile(javaArchivePath);
|
||||
const extractedJavaPath = await extractJdkFile(javaArchivePath, "tar.gz");
|
||||
|
||||
const archiveName = fs.readdirSync(extractedJavaPath)[0];
|
||||
const archivePath = path.join(extractedJavaPath, archiveName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue