Skip to content

Commit 958c95b

Browse files
update
1 parent ae45cf7 commit 958c95b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,18 +298,11 @@ jobs:
298298
timeout-minutes: 90
299299

300300
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-
308301
- name: Symlink custom working directory
309302
shell: cmd
310303
if: runner.os == 'Windows' && matrix.config.working-directory
311304
run: |
312-
mklink /d "${{ matrix.config.working-directory }}" "C:\actions-runner\_work\arduino-ide\arduino-ide"
305+
if not exist "${{ matrix.config.working-directory }}" mklink /d "${{ matrix.config.working-directory }}" "C:\actions-runner\_work\arduino-ide\arduino-ide"
313306
314307
- name: Checkout
315308
if: fromJSON(matrix.config.container) == null

0 commit comments

Comments
 (0)