diff --git a/.github/actions/xahau-actions-cache-restore/action.yml b/.github/actions/xahau-actions-cache-restore/action.yml index 5e2ba1d6d..0d4bd4612 100644 --- a/.github/actions/xahau-actions-cache-restore/action.yml +++ b/.github/actions/xahau-actions-cache-restore/action.yml @@ -170,7 +170,7 @@ runs: # Download and extract cache S3_KEY="s3://${S3_BUCKET}/${MATCHED_KEY}-base.tar.zst" - TEMP_TARBALL=$(mktemp /tmp/xahau-cache-XXXXXX.tar.zst) + TEMP_TARBALL="/tmp/xahau-cache-restore-$$.tar.zst" echo "" echo "Downloading cache..." diff --git a/.github/actions/xahau-actions-cache-save/action.yml b/.github/actions/xahau-actions-cache-save/action.yml index 95f370c07..156ac5ebb 100644 --- a/.github/actions/xahau-actions-cache-save/action.yml +++ b/.github/actions/xahau-actions-cache-save/action.yml @@ -76,7 +76,7 @@ runs: fi # Create tarball - BASE_TARBALL=$(mktemp /tmp/xahau-cache-XXXXXX.tar.zst) + BASE_TARBALL="/tmp/xahau-cache-base-$$.tar.zst" echo "Creating cache tarball..." tar -cf - -C "${TARGET_PATH}" . | zstd -3 -T0 -q -o "${BASE_TARBALL}"