mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
enhance: hotfix HOME variable (#32405)
Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
This commit is contained in:
parent
d343d2f3fc
commit
70beec3e47
10
.github/workflows/main.yaml
vendored
10
.github/workflows/main.yaml
vendored
@ -45,6 +45,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 180
|
||||
steps:
|
||||
- name: 'Setup $HOME'
|
||||
# hot fix
|
||||
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
|
||||
fi
|
||||
echo "HOME variable is:$HOME"
|
||||
- name: Setup mold
|
||||
uses: rui314/setup-mold@v1
|
||||
- name: Maximize build space
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user