Skip to content

Commit 5f28c6d

Browse files
authored
[ci] Use same drive as checkouts for TMP on Windows (#1951)
* [ci] Use same drive as checkouts for TMP on Windows * add to release workflow too
1 parent 124ed2f commit 5f28c6d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ jobs:
8787
- windows-latest
8888
steps:
8989
- uses: actions/checkout@v5
90+
- name: 'Windows only, set TEMP to the same drive'
91+
if: ${{ matrix.os == 'windows-latest' }}
92+
# temporary waiting for https://github.com/parcel-bundler/parcel/pull/10095 to fix
93+
run: |
94+
mkdir "D:\\Temp"
95+
echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV
9096
9197
- name: Bootstrap Action Workspace
9298
id: bootstrap

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ jobs:
147147
- uses: actions/checkout@v5
148148
with:
149149
ref: ${{ needs.release-drafter.outputs.tag_name }}
150+
- name: 'Windows only, set TEMP to the same drive'
151+
if: ${{ matrix.os == 'windows-latest' }}
152+
# temporary waiting for https://github.com/parcel-bundler/parcel/pull/10095 to fix
153+
run: |
154+
mkdir "D:\\Temp"
155+
echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV
150156
151157
- name: Bootstrap Action Workspace
152158
id: bootstrap

0 commit comments

Comments
 (0)