Set up Windows environment with build tools.
This commit is contained in:
@@ -4,6 +4,7 @@ import * as graalvm from './graalvm'
|
||||
import {join} from 'path'
|
||||
import {mkdirP} from '@actions/io'
|
||||
import {setUpGraalVMTrunk} from './graalvm-trunk'
|
||||
import {setUpWindowsEnvironment} from './msvc'
|
||||
|
||||
async function run(): Promise<void> {
|
||||
try {
|
||||
@@ -14,6 +15,10 @@ async function run(): Promise<void> {
|
||||
componentsString.length > 0 ? componentsString.split(',') : []
|
||||
const setJavaHome = core.getInput('set-java-home') === 'true'
|
||||
|
||||
if (c.IS_WINDOWS) {
|
||||
setUpWindowsEnvironment()
|
||||
}
|
||||
|
||||
await mkdirP(c.GRAALVM_BASE)
|
||||
|
||||
// Download or build GraalVM
|
||||
|
||||
Reference in New Issue
Block a user