Skip to content

Commit

Permalink
🔨 Update changelog action
Browse files Browse the repository at this point in the history
  • Loading branch information
jbutcher5 committed Jul 31, 2021
1 parent a704dac commit 070e90a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,10 @@ jobs:
key-path: '["name"]'

- name: Get changelog
uses: KJ002/read-yaml@v1.4
uses: changelog-action
id: changelog
with:
file: ./pubspec.yaml
key-path: '["changelog"]'
file: CHANGELOG.md

- name: Create release
uses: actions/create-release@v1
Expand All @@ -77,7 +76,7 @@ jobs:
prerelease: false
release_name: ${{ steps.name.outputs.data }}
tag_name: ${{ steps.version.outputs.data }}
body: ${{ steps.changelog.outputs.data }}
body: ${{ steps.changelog.outputs.changelog }}
env:
GITHUB_TOKEN: ${{ github.token }}

Expand Down

0 comments on commit 070e90a

Please sign in to comment.