Skip to content

Commit

Permalink
Update release.yml to set release notes as environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
besessener committed Feb 15, 2024
1 parent bc9aba0 commit 9c1b69a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Read Release Notes
id: release_notes
run: echo "::set-output name=notes::$(cat release-notes.txt)"
run: echo "NOTES=$(cat ./release-notes.txt)" >> $GITHUB_ENV

- name: Create Release
id: create_release
Expand All @@ -34,7 +34,7 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ steps.release_notes.outputs.notes }}
body: ${{ env.NOTES }}

- name: Extract Tag Name
id: extract_tag_name
Expand Down

0 comments on commit 9c1b69a

Please sign in to comment.