Skip to content

Releases: JasonEtco/actions-toolkit

v1.6.0-beta.2: Toolkit#command improvements

16 Mar 20:42
Compare
Choose a tag to compare

Some improvements to the Toolkit#command method:

  • Run multiple times for multiple matches
  • Pass the match array to the handler
  • Improved docs

v1.6.0-beta.1: Toolkit#command improvements

16 Mar 18:56
Compare
Choose a tag to compare

What’s Changed

  • Improvements to Toolkit#command, including better command matching and documentation.
  • Mock process.on() in tests (#60) @JasonEtco

v1.6.0-beta.0: Toolkit#command

13 Mar 22:53
Compare
Choose a tag to compare
Pre-release

This is the first beta release containing a new method, Toolkit#command being worked on in #53. Still missing docs, but this beta release should help to test it out in real Actions.

v1.5.0

16 Feb 18:23
Compare
Choose a tag to compare

New feature

tools.log

A slightly customized instance of Signale, a great logging utility. You can use it in two ways: as tools.log(), or by picking the particular method.

tools.log('Logging something amazing!')
tools.log.info('Here is some information!')

Signale will output your logs to the Actions UI with some icons to help identify your logs:

Example of the Signale log output

I'm interested in your feedback on this feature!

What’s Changed

v1.5.0-beta.2

15 Feb 06:01
Compare
Choose a tag to compare
v1.5.0-beta.2 Pre-release
Pre-release

What’s Changed

Some additional changes to the Signale PR #45 that allow for a callable tools.log method:

tools.log('Hello!')
tools.log.info('Wow!')

v1.5.0-beta.1

14 Feb 01:09
Compare
Choose a tag to compare
v1.5.0-beta.1 Pre-release
Pre-release

New feature

This minor release (1.5.0) will include support for a logger - see #45 for the implementation! It's still missing documentation, hence the beta prerelease. I wanted to try it out in some real actions first!

Some basic docs:

tools.log.METHOD

So:

tools.log.info('Omg wow!')

v1.4.1

13 Feb 02:28
Compare
Choose a tag to compare

What’s Changed

The biggest change in this release is #44, which changes the behavior added in #36 to be a lot less aggressive. Thanks @banyan ❤️

v1.4.0

10 Feb 16:51
Compare
Choose a tag to compare

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

v1.3.0

09 Feb 21:05
Compare
Choose a tag to compare

What’s Changed

v1.2.1

03 Feb 14:34
Compare
Choose a tag to compare

What’s Changed