This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 8a28b25e5 ci: Use ubuntu-24.04-arm for java release to address glibc 
issues (#6486)
8a28b25e5 is described below

commit 8a28b25e5cf6af4bc3b0c70111196aed78282f32
Author: Xuanwo <git...@xuanwo.io>
AuthorDate: Tue Aug 5 17:17:14 2025 +0800

    ci: Use ubuntu-24.04-arm for java release to address glibc issues (#6486)
    
    Signed-off-by: Xuanwo <git...@xuanwo.io>
---
 .github/workflows/ci_bindings_java.yml |  1 +
 .github/workflows/release_java.yml     | 12 ++----------
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/ci_bindings_java.yml 
b/.github/workflows/ci_bindings_java.yml
index 954365750..f5ca6c98d 100644
--- a/.github/workflows/ci_bindings_java.yml
+++ b/.github/workflows/ci_bindings_java.yml
@@ -67,6 +67,7 @@ jobs:
       matrix:
         os:
           - ubuntu-latest
+          - ubuntu-24.04-arm
           - macos-latest
           - windows-latest
     steps:
diff --git a/.github/workflows/release_java.yml 
b/.github/workflows/release_java.yml
index 9b2a1c692..340ac5802 100644
--- a/.github/workflows/release_java.yml
+++ b/.github/workflows/release_java.yml
@@ -42,7 +42,7 @@ jobs:
         include:
           - os: ubuntu-latest
             classifier: linux-x86_64
-          - os: ubuntu-latest
+          - os: ubuntu-24.04-arm
             classifier: linux-aarch_64
           - os: windows-latest
             classifier: windows-x86_64
@@ -73,17 +73,9 @@ jobs:
           repo-token: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Setup linux for zigbuild
-        if: ${{ contains(matrix.os, 'ubuntu-latest') }}
+        if: ${{ contains(matrix.os, 'ubuntu') }}
         run: pip install cargo-zigbuild
 
-      - name: Setup linux-aarch_64
-        if: ${{ contains(matrix.classifier, 'linux-aarch_64') }}
-        run: |
-          sudo apt-get update
-          sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
-          # Setup for cargo
-          echo 
"CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> 
$GITHUB_ENV
-
       - name: Local staging
         working-directory: bindings/java
         shell: bash

Reply via email to