This commit is contained in:
Corey Butler 2019-09-02 17:17:45 -05:00
parent 0838317849
commit ec4ef71ed3

View File

@ -17,11 +17,11 @@ async function run() {
core.warning(` Working Directory: ${process.env.GITHUB_WORKSPACE}:\n${dir}`)
let dir2 = fs.readdirSync(path.resolve(process.env.DEPLOYMENT_BASEPATH), { withFileTypes: true }).map(entry => {
let dir2 = fs.readdirSync(path.resolve(process.env.RUNNER_BASEPATH), { withFileTypes: true }).map(entry => {
return `${entry.isDirectory() ? '> ' : ' - '}${entry.name}`
}).join('\n')
core.warning(` Alt Working Directory: ${process.env.DEPLOYMENT_BASEPATH}:\n${dir2}`)
core.warning(` Alt Working Directory: ${process.env.RUNNER_BASEPATH}:\n${dir2}`)
core.warning(` Available environment variables:\n -> ${Object.keys(process.env).map(i => i + ' :: ' +process.env[i]).join('\n -> ')}`)