`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 ```
21 lines
355 B
YAML
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'
|