Files
read-file-action/action.yml
Gabor Greif 2b307cac5b Bump to node16 (#24)
`node12` is deprecated with following warning appearing in CI:
```
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: cachix/install-nix-action, cachix/cachix-action, juliangruber/read-file-action, cachix/cachix-action
```
2022-10-11 18:38:10 +02:00

21 lines
355 B
YAML

name: Read file
author: juliangruber
description: 'Read file contents'
branding:
icon: 'file'
color: purple
inputs:
path:
description: 'File path'
required: true
trim:
description: 'Trims output'
required: false
default: false
outputs:
content:
description: 'File content'
runs:
using: 'node16'
main: 'dist/index.js'