fix: ditch actions-toolkit for outputs

This commit is contained in:
Federico Grandi
2021-05-11 19:37:31 +02:00
parent ea8b2e7ef9
commit 3cbcd603a6
3 changed files with 14 additions and 11 deletions

View File

@@ -8,10 +8,10 @@ import {
Input,
log,
matchGitArgs,
outputs,
parseBool,
readJSON,
setOutput,
tools
setOutput
} from './util'
const baseDir = path.join(process.cwd(), getInput('cwd') || '')
@@ -449,8 +449,8 @@ function parseInputArray(input: string): string[] {
function logOutputs() {
core.startGroup('Outputs')
for (const key in tools.outputs) {
core.info(`${key}: ${tools.outputs[key]}`)
for (const key in outputs) {
core.info(`${key}: ${outputs[key]}`)
}
core.endGroup()
}