shresht7/read-file-action
A GitHub Action to read a file and export its contents
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 file to read (can be a URL) | yes | — |
| parse | Parse the file contents as `yaml` or `json`. If `true`, will try to automatically determine the file-extension. You can set it to `yaml` or `json` manually too. If `false`, it will return the raw string | no | — |
Outputs
| name | description |
|---|---|
| contents | The contents of the file |