Documentation v2.0.0: https://raw.githack.com/jaywcjlove/github-action-read-file/ec202e3/index.html
Comparing Changes: v1.2.2...v2.0.0
- π chore: bump node16 to node20 4b6b17a @jaywcjlove
- π’ ci: update workflows config. 546dbc9 @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 }}"