Skip to content

Commit bc7ef62

Browse files
committed
ci: add github step summary output
Signed-off-by: Andrew Brandt <[email protected]>
1 parent c978c9e commit bc7ef62

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
5252
echo "Release identifier is valid: ${release_identifier}"
5353
echo "release-identifier=${release_identifier}" >> ${GITHUB_OUTPUT}
54+
echo "Validated Input: ${release_identifier}" >> ${GITHUB_STEP_SUMMARY}
5455
5556
- name: Checkout Code
5657
id: checkout_code
@@ -70,14 +71,16 @@ jobs:
7071
git fetch --tags
7172
7273
if git rev-parse "$tag" >/dev/null 2>&1; then
73-
echo "Tag '${tag}' found."
74+
echo "Tag ${tag} found in repo." >> ${GITHUB_STEP_SUMMARY}
7475
else
75-
echo "Error: Tag '${tag}' does not exist."
76+
echo "Error: Tag ${tag} does not exist in repo." >> ${GITHUB_STEP_SUMMARY}
7677
exit 1
7778
fi
7879
7980
- name: Git-Semver Setup Action
8081
uses: DJ-BBot/setup-git-semver@91baf2ca207495aa35db3441038ddeae2b6904c7 # v1.0.2
8182

8283
- name: Create Release Notes with Markdown
83-
run: git-semver log --markdown "${{ steps.validate.outputs.release-identifier }}"
84+
run: |
85+
git-semver log --markdown "${{ steps.validate.outputs.release-identifier }}"
86+
echo "Successfully created release notes!" >> ${GITHUB_STEP_SUMMARY}

0 commit comments

Comments
 (0)