Skip to content

Commit d8e94aa

Browse files
feat(upgrade): add upgrade-count and upgrade-strategy outputs
1 parent 211fb63 commit d8e94aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

actions/upgrade/upgrade.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,6 @@ const upgrades = changed
5555

5656
childProcess.execSync(`git status`, { stdio: "inherit" });
5757
console.log(`::set-output name=upgrades::${upgrades}`);
58+
console.log(`::set-output name=upgrade-count::${changed.length}`);
59+
console.log(`::set-output name=upgrade-strategy::${process.env.INPUT_LATEST === 'true' ? 'matching semver range' : 'latest'}`);
60+

0 commit comments

Comments
 (0)