Documentation v1.2.0: https://raw.githack.com/jaywcjlove/github-action-read-file/bade1a7/index.html
Comparing Changes: v1.1.2...v1.2.0
- π feat: add localfile input params. 17893a4 @jaywcjlove
- π chore: update workflows config. 6d12d1b @jaywcjlove
- π chore(deps): Update dependency lint-staged to ~13.1.0 (#3) 7f8ff30 @renovate-bot
- π fix: fix content output params. 0f73405 @jaywcjlove
- name: Read README.md
id: package
uses: jaywcjlove/github-action-read-file@main
with:
path: package.json
- name: Echo package.json
run: echo "$\{{ steps.package.outputs.content }}"
Specify the branch to read the file content
- name: Read README.md(gh-pages)
id: ghpages
uses: jaywcjlove/github-action-read-file@main
with:
branch: gh-pages
path: README.md
- name: Echo README.md(gh-pages)
run: echo "$\{{ steps.ghpages.outputs.content }}"