log outputs

This commit is contained in:
Peter Evans 2024-08-14 21:55:31 +00:00
parent 3d665e5aea
commit 5a9be5875b
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View file

@ -522,6 +522,7 @@ function createPullRequest(inputs) {
// Set outputs
core.startGroup('Setting outputs');
for (const [key, value] of outputs) {
core.info(`${key} = ${value}`);
core.setOutput(key, value);
}
core.endGroup();

View file

@ -275,6 +275,7 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
// Set outputs
core.startGroup('Setting outputs')
for (const [key, value] of outputs) {
core.info(`${key} = ${value}`)
core.setOutput(key, value)
}
core.endGroup()