mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-01-19 19:56:38 +08:00
13 lines
253 B
TypeScript
13 lines
253 B
TypeScript
|
import * as core from '@actions/core'
|
||
|
|
||
|
async function run(): Promise<void> {
|
||
|
try {
|
||
|
let graalVMHome
|
||
|
core.exportVariable('GRAALVM_HOME', graalVMHome)
|
||
|
} catch (error) {
|
||
|
if (error instanceof Error) core.setFailed(error.message)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
run()
|