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 c8ec4843 Add distribution to inputs
c8ec4843 is described below
commit c8ec48436b66ff60eb7b89b496127bcf3ed7b04b
Author: Lee Rhodes <[email protected]>
AuthorDate: Mon Mar 30 12:56:27 2026 -0700
Add distribution to inputs
---
.github/workflows/reusable-jdk-os-matrix.yml | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/reusable-jdk-os-matrix.yml
b/.github/workflows/reusable-jdk-os-matrix.yml
index cb64ac7c..46d7cd63 100644
--- a/.github/workflows/reusable-jdk-os-matrix.yml
+++ b/.github/workflows/reusable-jdk-os-matrix.yml
@@ -9,7 +9,10 @@ on:
os_type:
required: true
type: string
- java_arch:
+ cpu_arch:
+ required: true
+ type: string
+ jdk_distribution:
required: true
type: string
@@ -19,7 +22,7 @@ env:
jobs:
build:
- name: Build (${{ inputs.os_type }}, JDK ${{ inputs.jdk_version }}, ${{
inputs.java_arch }})
+ name: Build (OS ${{ inputs.os_type }}, JDK ${{ inputs.jdk_version }}, CPU
${{ inputs.cpu_arch }}, DIST ${{ inputs.jdk_distribution }})
runs-on: ${{ inputs.os_type }}
steps:
- name: Checkout Source code
@@ -37,9 +40,9 @@ jobs:
uses: actions/setup-java@v5
with:
java-version: ${{ inputs.jdk_version }}
- distribution: 'temurin'
+ architecture: ${{ inputs.cpu_arch }}
+ distribution: ${{ inputs.jdk_distribution }}
java-package: jdk
- architecture: ${{ inputs.java_arch }}
cache: 'maven'
overwrite-settings: true
@@ -75,8 +78,8 @@ jobs:
shell: bash
run: |
# Define the header
- HEADER="| OS | Arch | JDK | Status |"
- SEP="|----|------|-----|--------|"
+ HEADER="| OS | Arch | JDK | DIST | Status |"
+ SEP="|----|------|-----|--------|-----|"
# Check if the header already exists in the summary file
if ! grep -q "$HEADER" "$GITHUB_STEP_SUMMARY"; then
@@ -85,5 +88,5 @@ jobs:
fi
# Append the specific job row
- echo "| ${{ inputs.os_type }} | ${{ inputs.java_arch }} | ${{
inputs.jdk_version }} | ${{ job.status == 'success' && '✅' || '❌' }} |" >>
$GITHUB_STEP_SUMMARY
+ echo "| ${{ inputs.os_type }} | ${{ inputs.cpu_arch }} | ${{
inputs.jdk_version }} | ${{ inputs.jdk_distribution }} | ${{ job.status ==
'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]