Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
file

GitHub Action

Read file

v1.1.3

Read file

file

Read file

Read file contents

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Read file

uses: juliangruber/[email protected]

Learn more about this action in juliangruber/read-file-action

Choose a version

read-file-action

Read file contents.

Usage

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