Skip to content

Commit f3d0156

Browse files
committed
ci: Print markdown output to Step Summary, create JSON structure
Signed-off-by: Andrew Brandt <[email protected]>
1 parent c4a3ab4 commit f3d0156

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/flow-generate-release-notes.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,16 @@ jobs:
8080
- name: Git-Semver Setup Action
8181
uses: DJ-BBot/setup-git-semver@91baf2ca207495aa35db3441038ddeae2b6904c7 # v1.0.2
8282

83-
- name: Create Release Notes with Markdown
83+
- name: Create Release Notes - Markdown Format
8484
run: |
8585
echo ""
86-
echo "Release Notes:"
86+
echo "Release Notes (Markdown Formatted):"
8787
echo ""
88-
git-semver log --markdown "${{ steps.validate.outputs.release-identifier }}"
88+
git-semver log --markdown "${{ steps.validate.outputs.release-identifier }}" >> ${GITHUB_STEP_SUMMARY}
8989
echo ""
9090
echo "Successfully created release notes!" >> ${GITHUB_STEP_SUMMARY}
91+
92+
- name: Create Release Notes - JSON Structure
93+
run: |
94+
echo "Release Notes (JSON Structure):"
95+
git-semver log "${{ steps.validate.outputs.release-identifier }}"

0 commit comments

Comments
 (0)