github JasonEtco/actions-toolkit v1.8.0
v1.8.0: Toolkit#run

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

New feature

In #63, @jclem added a new static method to the Toolkit class: #run. It takes a function argument and runs that function, as a way of enabling easier async/await patterns and modularity. Check it out!

const { Toolkit } = require('actions-toolkit')

Toolkit.run(async tools => {
  tools.log.success('We did it team!')
})

What’s Changed

Don't miss a new actions-toolkit release

NewReleases is sending notifications on new releases.