actions-marketplace-validations/Read Json Properties Action
Reads properties and exposes them to the github action
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path to the json file | — | package.json |
| json | Json raw input as text | — | {} |
| properties | Property or an array to read eg: "[name, version, repository.url]" or "name" | yes | — |
| transformNested | A sign that replaces `.` for ouput values | — | _ |
Outputs
| name | description |
|---|---|
| values | Each property is accessed via it's property name using outputs value eg: {{steps.read_property.outputs.name}}. If a property is nested `.` is replaced with '_' by default eg: {{steps.read_property.repository_url}} |