im-open/Set Environment Variables by Scope
This action takes specially formatted environment variables and/or an input file to emit scoped environment variables.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| scope | The scope is used to select key names and values to be set as environment vars, key names that do not contain the scope will not be exported | yes | — |
| input-file | A specially formatted YAML file containing possible environment variable candidates with their associated scopes | no | — |
| create-output-variables | Create output variables (in addition to environment variables) for use in other steps and jobs, accepts true or false, defaults to false | no | false |
| error-on-no-match | An error will be thrown if no env or output variables are created, a warning will appear for all keys that don't provide a value for the input scope | no | false |
| custom-error-message | The error message that will be displayed if no environment or output variables are created, `error_on_no_match` must be set to true | no | — |
Outputs
no outputs