Skip to content
Read file contents
JavaScript
Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
dist 1.0.0 Mar 3, 2020
.gitignore initial commit Mar 3, 2020
README.md initial commit Mar 3, 2020
action.yml initial commit Mar 3, 2020
index.js initial commit Mar 3, 2020
package-lock.json 1.0.0 Mar 3, 2020
package.json 1.0.0 Mar 3, 2020

README.md

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

You can’t perform that action at this time.