Skip to content

juliangruber/read-file-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

read-file-action

Read file contents.

Usage

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