actions-marketplace-validations/js-eval-action
GitHub action for evaluating JS expressions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| expression | JS expression to evaluate | no | — |
| jsFile | JS file to evaluate expression from | no | — |
| jsonInputs | Parse listed inputs as JSON (use "|" separator). * to parse all | no | — |
| jsonEnvs | Parse listed envs as JSON (use "|" separator). * to parse all | no | — |
| extractOutputs | If true, separate outputs will be set from result object, JSON.stringify(result) otherwise | no | false |
| timeoutMs | If true, separate outputs will be set from result object, JSON.stringify(result) otherwise | no | — |
| data | Arbitrary data you want to access in expression | no | — |
Outputs
| name | description |
|---|---|
| result | Result of expression evaluation |
| timedOut | "true" if expression evaluation failed due to timeout. "false" otherwise |