Skip to content

Commit 1352090

Browse files
pre clean up
1 parent 5553b22 commit 1352090

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,14 @@ jobs:
297297

298298
timeout-minutes: 90
299299

300-
steps:
300+
steps:
301+
- name: Pre Clean Up for self-hosted runner
302+
if: runner.os == 'Windows' && matrix.config.working-directory
303+
shell: cmd
304+
run: |
305+
if exist "${{ matrix.config.working-directory }}" rmdir /s /q "${{ matrix.config.working-directory }}"
306+
if exist "C:\actions-runner\_work\arduino-ide\arduino-ide" rmdir /s /q "C:\actions-runner\_work\arduino-ide\arduino-ide"
307+
301308
- name: Symlink custom working directory
302309
shell: cmd
303310
if: runner.os == 'Windows' && matrix.config.working-directory

0 commit comments

Comments
 (0)