aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build-user-config.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build-user-config.yml b/.github/workflows/build-user-config.yml
index af57520bcd..d8ea057e56 100644
--- a/.github/workflows/build-user-config.yml
+++ b/.github/workflows/build-user-config.yml
@@ -68,7 +68,8 @@ jobs:
run: |
if [ -e zephyr/module.yml ]; then
export zmk_load_arg=" -DZMK_EXTRA_MODULES='${GITHUB_WORKSPACE}'"
- export new_tmp_dir=$(mktemp -d)
+ new_tmp_dir="${TMPDIR:-/tmp}/zmk-config"
+ mkdir -p "${new_tmp_dir}"
echo "base_dir=${new_tmp_dir}" >> $GITHUB_ENV
else
echo "base_dir=${GITHUB_WORKSPACE}" >> $GITHUB_ENV