From 47eeef5c09c757df2e78a23e49bc5cb1fdc3e8cb Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 23 Sep 2024 12:59:22 -0500 Subject: [PATCH] Explicitly create the DevDrive tmpdir before use (#7644) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A suggested solution to #6940 — unfortunately only time will tell if it works. --- .github/workflows/setup-dev-drive.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/setup-dev-drive.ps1 b/.github/workflows/setup-dev-drive.ps1 index 709931107..1c626f749 100644 --- a/.github/workflows/setup-dev-drive.ps1 +++ b/.github/workflows/setup-dev-drive.ps1 @@ -12,6 +12,9 @@ Write-Output $Volume $Drive = "$($Volume.DriveLetter):" $Tmp = "$($Drive)/uv-tmp" +# Create the directory ahead of time in an attempt to avoid race-conditions +New-Item $Tmp -ItemType Directory + Write-Output ` "DEV_DRIVE=$($Drive)" ` "TMP=$($Tmp)" `