This commit is contained in:
Corey Butler 2019-09-02 17:19:57 -05:00
parent a7cac2ca61
commit 7693db9bf3

View File

@ -19,13 +19,13 @@ async function run() {
core.warning(` Working Directory: ${process.env.GITHUB_WORKSPACE}:\n${dir}`)
let dir2 = fs.readdirSync(path.resolve(process.env.RUNNER_BASEPATH), { withFileTypes: true }).map(entry => {
let dir2 = fs.readdirSync(path.resolve(process.env.RUNNER_WORKSPACE), { withFileTypes: true }).map(entry => {
return `${entry.isDirectory() ? '> ' : ' - '}${entry.name}`
}).join('\n')
core.warning(` Alt Working Directory: ${process.env.RUNNER_BASEPATH}:\n${dir2}`)
core.warning(` Alt Working Directory: ${process.env.RUNNER_WORKSPACE}:\n${dir2}`)
console.log(fs.readFileSync(path.join(process.env.RUNNER_BASEPATH, 'package.json')).toString())
console.log(fs.readFileSync(path.join(process.env.RUNNER_WORKSPACE, 'package.json')).toString())
core.setOutput('tag', '')
} catch (error) {