From 53fd010da29d7a0ae97f5dc1461846bde68f429e Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Mon, 17 Mar 2025 11:27:40 +0100 Subject: [PATCH] build: use `${HOME}` for local directories in workflow --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f94e4399..72a9d007 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -136,8 +136,8 @@ jobs: --cap-add SYS_ADMIN --device /dev/fuse --privileged \ --mount type=bind,source=${GITHUB_WORKSPACE},target=/workspace,readonly \ --mount type=bind,source=${{ runner.temp }},target=/tmp-runner \ - --mount type=bind,source=/home/mhx/github-ccache,target=/ccache \ - --mount type=bind,source=/home/mhx/github-local,target=/local \ + --mount type=bind,source=${HOME}/github-ccache,target=/ccache \ + --mount type=bind,source=${HOME}/github-local,target=/local \ --mount type=bind,source=/mnt/opensource/artifacts/dwarfs,target=/artifacts \ --env BUILD_TYPE=clang-release-ninja-source-notest \ --env BUILD_ARCH=amd64 \ @@ -227,8 +227,8 @@ jobs: --cap-add SYS_ADMIN --device /dev/fuse --privileged \ --mount type=bind,source=${GITHUB_WORKSPACE},target=/workspace,readonly \ --mount type=bind,source=${{ runner.temp }},target=/tmp-runner \ - --mount type=bind,source=/home/mhx/github-ccache,target=/ccache \ - --mount type=bind,source=/home/mhx/github-local,target=/local \ + --mount type=bind,source=${HOME}/github-ccache,target=/ccache \ + --mount type=bind,source=${HOME}/github-local,target=/local \ --mount type=bind,source=/mnt/opensource/artifacts/dwarfs,target=/artifacts \ --env BUILD_FROM_TARBALL=1 \ --env BUILD_TYPE=${{ matrix.build_type }} \ @@ -349,8 +349,8 @@ jobs: --cap-add SYS_ADMIN --device /dev/fuse --privileged \ --mount type=bind,source=${GITHUB_WORKSPACE},target=/workspace,readonly \ --mount type=bind,source=${{ runner.temp }},target=/tmp-runner \ - --mount type=bind,source=/home/mhx/github-ccache,target=/ccache \ - --mount type=bind,source=/home/mhx/github-local,target=/local \ + --mount type=bind,source=${HOME}/github-ccache,target=/ccache \ + --mount type=bind,source=${HOME}/github-local,target=/local \ --mount type=bind,source=/mnt/opensource/artifacts/dwarfs,target=/artifacts \ --env BUILD_TYPE=${{ matrix.build_type }} \ --env BUILD_ARCH=${{ matrix.arch }} \