From 66fae53cd2d73bf17aae5202e46c9744ed79d8a0 Mon Sep 17 00:00:00 2001 From: "sammy.huang" Date: Thu, 18 Apr 2024 14:49:26 +0800 Subject: [PATCH] enhance: hotfix HOME variable (#32411) Signed-off-by: Liang Huang --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 3d1d6f5820..e7425e9114 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -50,11 +50,11 @@ jobs: run: | # Check if $HOME is not set if [ -z "$HOME" ]; then - # Set $HOME to /root if it is not set echo '$HOME was no set' - export HOME=/home/zilliz-user + echo "HOME=/home/zilliz-user" >> $GITHUB_ENV fi echo "HOME variable is:$HOME" + echo "GITHUB_ENV variable is:$GITHUB_ENV" - name: Setup mold uses: rui314/setup-mold@v1 - name: Maximize build space