This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch workflows
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git
The following commit(s) were added to refs/heads/workflows by this push:
new ef984ecc improved result summary
ef984ecc is described below
commit ef984ecc47a03a22acb693be4e44f30acb950c2c
Author: Lee Rhodes <[email protected]>
AuthorDate: Sat Feb 28 15:48:44 2026 -0800
improved result summary
---
.github/workflows/reusable-jdk-os-matrix.yml | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/reusable-jdk-os-matrix.yml
b/.github/workflows/reusable-jdk-os-matrix.yml
index 1d2f2720..05be7b90 100644
--- a/.github/workflows/reusable-jdk-os-matrix.yml
+++ b/.github/workflows/reusable-jdk-os-matrix.yml
@@ -70,11 +70,20 @@ jobs:
- name: Install
run: mvn clean install "-DskipTests=true"
"-Dmaven.clean.failOnError=false"
- - name: Generate Scalable Summary
- if: always() # Ensures the report is written even if tests fail
+ - name: Add Result to Summary
+ if: always()
+ shell: bash
run: |
- echo "### 🖥️ Job Result: ${{ inputs.os_type }} | ${{
inputs.java_arch }}" >> $GITHUB_STEP_SUMMARY
- echo "* **JDK Version:** ${{ inputs.jdk_version }}" >>
$GITHUB_STEP_SUMMARY
- echo "* **Build Status:** ${{ job.status == 'success' && '✅ Passed'
|| '❌ Failed' }}" >> $GITHUB_STEP_SUMMARY
- echo "---" >> $GITHUB_STEP_SUMMARY
+ # Define the header
+ HEADER="| OS | Arch | JDK | Status |"
+ SEP="|----|------|-----|--------|"
+
+ # Check if the header already exists in the summary file
+ if ! grep -q "$HEADER" "$GITHUB_STEP_SUMMARY"; then
+ echo "$HEADER" >> $GITHUB_STEP_SUMMARY
+ echo "$SEP" >> $GITHUB_STEP_SUMMARY
+ fi
+
+ # Append the specific job row
+ echo "| ${{ inputs.os_type }} | ${{ inputs.java_arch }} | ${{
inputs.jdk_version }} | ${{ job.status == 'success' && '✅' || '❌' }} |" >>
$GITHUB_STEP_SUMMARY
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]