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/06/24 07:49:33 UTC

[incubator-opendal] branch fix-java-snapshot updated: Fix lines

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

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


The following commit(s) were added to refs/heads/fix-java-snapshot by this push:
     new 95f4fac38 Fix lines
95f4fac38 is described below

commit 95f4fac3864d76f2308617130a89848230b08862
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Sat Jun 24 15:49:25 2023 +0800

    Fix lines
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 .github/workflows/bindings_java.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/bindings_java.yml b/.github/workflows/bindings_java.yml
index d8f960618..eb14b6031 100644
--- a/.github/workflows/bindings_java.yml
+++ b/.github/workflows/bindings_java.yml
@@ -98,10 +98,13 @@ jobs:
           MAVEN_GPG_PASSPHRASE: op://services/maven/gpg_passphrase
 
       - name: Decode GPG private key
+        id: key
         run: |
           private_key=`echo "${{ env.MAVEN_GPG_PRIVATE_KEY_BASE64 }}" | base64 -d`
           echo "::add-mask::${private_key}"
-          echo "MAVEN_GPG_PRIVATE_KEY=${private_key}" >> $GITHUB_ENV
+          echo "MAVEN_GPG_PRIVATE_KEY<<EOF" >> $GITHUB_ENV
+          echo ${private_key} >> $GITHUB_ENV
+          echo "EOF" >> $GITHUB_ENV
 
       - name: Set up JDK 8
         uses: actions/setup-java@v3
@@ -147,7 +150,9 @@ jobs:
         run: |
           private_key=`echo "${{ env.MAVEN_GPG_PRIVATE_KEY_BASE64 }}" | base64 -d`
           echo "::add-mask::${private_key}"
-          echo "MAVEN_GPG_PRIVATE_KEY=${private_key}" >> $GITHUB_ENV
+          echo "MAVEN_GPG_PRIVATE_KEY<<EOF" >> $GITHUB_ENV
+          echo ${private_key} >> $GITHUB_ENV
+          echo "EOF" >> $GITHUB_ENV
 
       - name: Set up JDK 8
         uses: actions/setup-java@v3