This commit is contained in:
Corey Butler 2019-09-02 17:51:34 -05:00
parent db869bc067
commit 012bf84b51

View File

@ -15,13 +15,7 @@ async function run() {
core.warning(` Working Directory: ${process.env.GITHUB_WORKSPACE}:\n${dir}`)
// let dir2 = fs.readdirSync(process.env.RUNNER_WORKSPACE, { withFileTypes: true }).map(entry => {
// return `${entry.isDirectory() ? '> ' : ' - '}${entry.name}`
// }).join('\n')
// core.warning(` Alt Working Directory: ${process.env.RUNNER_WORKSPACE}:\n${dir2}`)
let pkg = require(fs.readFileSync(path.join(process.env.GITHUB_WORKSPACE, 'package.json')))
let pkg = require(path.join(process.env.GITHUB_WORKSPACE, 'package.json'))
core.warning(` ${pkg.version}`)