You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/11/24 02:28:03 UTC

(incubator-opendal) branch fix-java-arm64-build updated: use env instead

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

xuanwo pushed a commit to branch fix-java-arm64-build
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/fix-java-arm64-build by this push:
     new f6c6ad4ba use env instead
f6c6ad4ba is described below

commit f6c6ad4ba8ac5d97e9c47aaebfd8553a4f563010
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Fri Nov 24 10:27:54 2023 +0800

    use env instead
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 .github/workflows/release_java.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/release_java.yml b/.github/workflows/release_java.yml
index 6f48be1f0..ae891578f 100644
--- a/.github/workflows/release_java.yml
+++ b/.github/workflows/release_java.yml
@@ -74,8 +74,7 @@ jobs:
           sudo apt-get update
           sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
           # Setup for cargo
-          echo "[target.aarch64-unknown-linux-gnu]" >> ~/.cargo/config
-          echo "linker = \"aarch64-linux-gnu-gcc\"" >> ~/.cargo/config
+          echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
 
       - name: Local staging
         working-directory: bindings/java