mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-11-22 08:11:07 +07:00
WIP
This commit is contained in:
parent
ea6dbd38cb
commit
0838317849
@ -16,6 +16,13 @@ async function run() {
|
||||
}).join('\n')
|
||||
|
||||
core.warning(` Working Directory: ${process.env.GITHUB_WORKSPACE}:\n${dir}`)
|
||||
|
||||
let dir2 = fs.readdirSync(path.resolve(process.env.DEPLOYMENT_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(` Available environment variables:\n -> ${Object.keys(process.env).map(i => i + ' :: ' +process.env[i]).join('\n -> ')}`)
|
||||
|
||||
console.log(fs.readFileSync(path.join(process.env.GITHUB_WORKSPACE, 'package.json')).toString())
|
||||
|
Loading…
Reference in New Issue
Block a user