From 70b6e6f5850e852cf49877798b296af704ba284c Mon Sep 17 00:00:00 2001 From: Pawel Czarnecki Date: Mon, 19 Feb 2024 17:19:01 +0100 Subject: [PATCH] use explicit paths to github runner HOME Signed-off-by: Pawel Czarnecki --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c3e61d..6fa74cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,9 @@ jobs: - name: Workaround overriden HOME env var run: | mkdir -p /github - ln -s /root $HOME + ls -la /github + [ -d /github/home ] && ls -la /github/home && rm -rf /github/home + ln -s /root /github/home whoami echo $HOME ls -la $HOME @@ -84,7 +86,9 @@ jobs: - name: Workaround overriden HOME env var run: | mkdir -p /github - ln -s /root $HOME + ls -la /github + [ -d /github/home ] && ls -la /github/home && rm -rf /github/home + ln -s /root /github/home whoami echo $HOME ls -la $HOME