kiegroup / act-js

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

Added support for passing variables #65

Closed im-sampm closed 11 months ago

im-sampm commented 11 months ago

This change adds basic support for passing --vars to Act.

I chose to model the change on the env implementation rather than event for simplicity, but I feel like vars, env and input could probably be refactored to have a common implementation.

I haven't created test cases for this change.