21 lines
292 B
Markdown
21 lines
292 B
Markdown
# read-file-action
|
|
|
|
Read file contents.
|
|
|
|
## Usage
|
|
|
|
```yaml
|
|
steps:
|
|
- name: Read package.json
|
|
id: package
|
|
uses: juliangruber/read-file-action@v1
|
|
with:
|
|
path: ./package.json
|
|
- name: Echo package.json
|
|
run: echo "${{ steps.package.outputs.content }}"
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|