Skip to content

Commit

Permalink
Add log output to GHA summary
Browse files Browse the repository at this point in the history
  • Loading branch information
mhoffrog committed Sep 19, 2024
1 parent 26a5d65 commit a1ae7dd
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/maven-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,17 @@ jobs:
- name: Log should_release details
id: log-should_release-details
run: |
echo "================================"
echo "Release job filter details:"
echo " VALIDATE_ONLY: ${VALIDATE_ONLY}"
echo " CI_STATUS: ${CI_STATUS}"
echo " INTERESTING_CATEGORY: ${INTERESTING_CATEGORY}"
echo "--------------------------------"
echo "=> SHOULD_RELEASE: ${SHOULD_RELEASE}"
echo "================================"
echo "## Job Filter Summary" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
echo "================================" | tee -a $GITHUB_STEP_SUMMARY
echo "Release job filter details:" | tee -a $GITHUB_STEP_SUMMARY
echo " VALIDATE_ONLY: ${VALIDATE_ONLY}" | tee -a $GITHUB_STEP_SUMMARY
echo " CI_STATUS: ${CI_STATUS}" | tee -a $GITHUB_STEP_SUMMARY
echo " INTERESTING_CATEGORY: ${INTERESTING_CATEGORY}" | tee -a $GITHUB_STEP_SUMMARY
echo "--------------------------------" | tee -a $GITHUB_STEP_SUMMARY
echo "=> SHOULD_RELEASE: ${SHOULD_RELEASE}" | tee -a $GITHUB_STEP_SUMMARY
echo "================================" | tee -a $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
env:
VALIDATE_ONLY: ${{ inputs.validate_only }}
CI_STATUS: ${{ steps.verify-ci-status.outputs.result }}
Expand Down

0 comments on commit a1ae7dd

Please sign in to comment.