Use execPath

This commit is contained in:
khai96_
2020-05-08 13:47:46 +07:00
parent ed88a96c4e
commit e1bd3c6b13
3 changed files with 4 additions and 7 deletions

View File

@ -1,12 +1,8 @@
import { inspect } from 'util'
import { setFailed, warning } from '@actions/core'
import { setFailed } from '@actions/core'
import getInputs from './inputs'
import setOutputs from './outputs'
import install from './install'
warning(`EXEC_PATH ${process.execPath}`)
warning(`EXEC_ARGV ${inspect(process.execArgv)}`)
const inputs = getInputs()
install(inputs).then(() => {