Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

document how to create a release using the contents of a file #61

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Read Release Notes
id: release_notes
juliangruber/read-file-action@v1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be uses: juliangruber/read-file-action@v1?

with:
path: ./release_notes_latest.md
- name: Create Release
id: create_release
uses: actions/create-release@latest
Expand All @@ -50,10 +55,7 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
body: ${{ steps.release_notes.outputs.content }} # file contents taken from earlier step
draft: false
prerelease: false
```
Expand Down