From 7693db9bf358faae84c75b36d52cd2401913c64c Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Mon, 2 Sep 2019 17:19:57 -0500 Subject: [PATCH] WIP --- lib/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/main.js b/lib/main.js index be3cb3d..4055253 100644 --- a/lib/main.js +++ b/lib/main.js @@ -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) {