v1.8.0: Toolkit#run
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
- Use logger in exit (#64) @JasonEtco
- Add Toolkit.run (#63) @jclem