github JasonEtco/actions-toolkit v3.0.0

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

New features

This release brings a lot of new features that are available in the Actions runtime, mostly by wrapping actions/toolkit.

  • tools.inputs is a Proxy instance that lets you access the inputs of your action:
uses: JasonEtco/example-action@master
with:
  foo: bar

You can access those using tools.inputs:

console.log(tools.inputs.foo) // -> 'bar'
  • Toolkit.run will now call core.setFailed upon failure, which sets an annotation to expose the error message more clearly in the GitHub Actions UI.

Breaking changes

  • Toolkit#config has been removed. You should probably use tools.inputs instead!
  • tools.arguments has been removed. You should probably use tools.inputs instead!

What’s Changed

Don't miss a new actions-toolkit release

NewReleases is sending notifications on new releases.