mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2024-10-12 14:09:56 +08:00
Export archive as output.
This commit is contained in:
parent
eacba1575b
commit
2f82a03f52
BIN
dist/cleanup/index.js
generated
vendored
BIN
dist/cleanup/index.js
generated
vendored
Binary file not shown.
BIN
dist/main/index.js
generated
vendored
BIN
dist/main/index.js
generated
vendored
Binary file not shown.
@ -65,7 +65,9 @@ export async function downloadExtractAndCacheJDK(
|
||||
if (toolPath) {
|
||||
core.info(`Found ${toolName} ${version} in tool-cache @ ${toolPath}`)
|
||||
} else {
|
||||
const extractDir = await extract(await downloader())
|
||||
const archive = await downloader()
|
||||
core.setOutput('archive', archive)
|
||||
const extractDir = await extract(archive)
|
||||
core.info(`Adding ${toolName} ${version} to tool-cache ...`)
|
||||
toolPath = await tc.cacheDir(extractDir, toolName, semVersion)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user