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
a7cac2ca61
commit
7693db9bf3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user