kiegroup / act-js

A node.js wrapper for nektos/act to programmatically run your github actions locally
Apache License 2.0
53 stars 8 forks source link

use `--json` flag for better output parsing #70

Open shubhbapna opened 5 months ago

shubhbapna commented 5 months ago

Feature request

act has an option to enable json output. Using json will provide much easier output parsing than the current regex based string parsing. This will also significantly reduce maintenance complexity.

Additional context

The output-parser is a pluggable module, which make it easy for us to add another output parser without any breaking changes

peddamat commented 5 months ago

Oh, brilliant. Don’t know how I missed that. I can try to take a look this weekend.