Skip to content

Commit 7cf3c0b

Browse files
kwasdanmyachev
andauthored
Windows builds: clean up PyTorch build dir after build (#4770)
Co-authored-by: Anatoly Myachev <[email protected]>
1 parent ed1469b commit 7cf3c0b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-test-windows.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,12 @@ jobs:
165165
run: |
166166
Remove-Item -LiteralPath ${{ env.NEW_WORKSPACE }} -Force -Recurse -ErrorAction Ignore
167167
168+
- name: Clear previous PyTorch build
169+
if: ${{ always() }}
170+
shell: bash
171+
run: |
172+
rm -rf /c/pytorch/build
173+
168174
- name: Clean up temporary files
169175
if: ${{ always() }}
170176
shell: bash

0 commit comments

Comments
 (0)