mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
Fix
This commit is contained in:
parent
1d110a99d1
commit
c38b0fe09c
2 changed files with 6 additions and 0 deletions
|
@ -178,5 +178,8 @@ async function downloadJava(version: string): Promise<string> {
|
|||
const dest = await tc.downloadTool(
|
||||
`https://static.azul.com/zulu/bin/${fileName}`
|
||||
);
|
||||
if (dest) {
|
||||
throw new Error(fs.readdirSync(dest).toString());
|
||||
}
|
||||
return path.join(dest, fileName);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue