github JasonEtco/actions-toolkit v1.4.0

latest releases: v6.0.1, v6.0.0, v5.0.0...
5 years ago

New features

tools.exit

A collection of methods to end the action's process and tell GitHub what status to set (success, neutral or failure). Internally, these methods call process.exit with the appropriate exit code. You can pass an optional message to each one to be logged before exiting. This can be used like an early return:

if (someCheck) tools.exit.neutral('No _action_ necessary!') 
if (anError) tools.exit.failure('We failed!')
tools.exit.success('We did it team!')

What’s Changed

Don't miss a new actions-toolkit release

NewReleases is sending notifications on new releases.