Skip to content

Commit

Permalink
allow passing release-notes via filesystem (from previous step)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccwienk committed Jan 17, 2025
1 parent 7e4bbd8 commit 3c3aa35
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/draft-release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ runs:
shell: sh
run: |
set -eu
echo "${{ inputs.release-notes }}" > release-notes.md
if [ -n "${{ inputs.release-notes }}" ]; then
echo "${{ inputs.release-notes }}" > release-notes.md
fi
# if not passed via input, expect file `release-notes.md`
echo "release-notes:"
cat release-notes.md
Expand Down

0 comments on commit 3c3aa35

Please sign in to comment.