Skip to content

Commit b6aefed

Browse files
authored
Use a faster temporary directory for CI on Windows (#13513)
1 parent 873b732 commit b6aefed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/main.yml

+8
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,14 @@ jobs:
154154
timeout-minutes: 15
155155

156156
steps:
157+
# https://github.com/actions/runner-images/issues/8755
158+
# On standard runners, the D: drive is much faster.
159+
- name: Set %TMP% and %TEMP% to D:\\Temp
160+
run: |
161+
mkdir "D:\\Tmp"
162+
echo "TMP=D:\\Tmp" >> $env:GITHUB_ENV
163+
echo "TEMP=D:\\Tmp" >> $env:GITHUB_ENV
164+
157165
- uses: actions/checkout@v4
158166
with:
159167
persist-credentials: false

0 commit comments

Comments
 (0)