22 lines
308 B
Markdown
22 lines
308 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
|
|
trim: false
|
|
- name: Echo package.json
|
|
run: echo ${{ steps.package.outputs.content }}
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|