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
db869bc067
commit
012bf84b51
@ -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}`)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user