This commit is contained in:
Corey Butler 2019-09-02 17:21:26 -05:00
parent 7693db9bf3
commit 2db63a897d

View File

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