From 26368176f24547bc150f89515000362b60684b6e Mon Sep 17 00:00:00 2001 From: google-github-actions-bot <72759630+google-github-actions-bot@users.noreply.github.com> Date: Sun, 12 Sep 2021 19:55:08 -0500 Subject: [PATCH] chore: build dist release-please-action (#363) --- dist/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dist/index.js b/dist/index.js index 4db7b13..e39cff9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -51,12 +51,14 @@ async function runManifest (command) { if (command === 'manifest-pr') return const releasesCreated = await factory.runCommand('manifest-release', manifestOpts) + const pathsReleased = [] if (releasesCreated) { core.setOutput('releases_created', true) for (const [path, release] of Object.entries(releasesCreated)) { if (!release) { continue } + pathsReleased.push(path) if (path === '.') { core.setOutput('release_created', true) } else { @@ -71,6 +73,9 @@ async function runManifest (command) { } } } + // Paths of all releases that were created, so that they can be passed + // to matrix in next step: + core.setOutput('paths_released', JSON.stringify(pathsReleased)) } async function main () {