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

djwang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry-backup.git

commit 7fc4d67115c46314660ec081010f23ef3e839822
Author: Robert Mu <[email protected]>
AuthorDate: Sat Oct 11 10:11:21 2025 +0800

    Use dynamic GOPATH in build_and_unit_test.yml
---
 .github/workflows/build_and_unit_test.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build_and_unit_test.yml 
b/.github/workflows/build_and_unit_test.yml
index 28f69ecc..deb4c5f8 100644
--- a/.github/workflows/build_and_unit_test.yml
+++ b/.github/workflows/build_and_unit_test.yml
@@ -25,8 +25,8 @@ jobs:
 
     - name: Set Environment
       run: |
-        echo "GOPATH=/home/runner/work/gpbackup/gpbackup/go" >> $GITHUB_ENV
-        echo "/home/runner/work/gpbackup/gpbackup/go/bin" >> $GITHUB_PATH
+        echo "GOPATH=${GITHUB_WORKSPACE}/go" >> $GITHUB_ENV
+        echo "${GITHUB_WORKSPACE}/go/bin" >> $GITHUB_PATH
 
     - name: Dependencies
       run: |


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to