Skip to content

Commit 46637f4

Browse files
Try fix build
1 parent 2c50b52 commit 46637f4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,14 @@ jobs:
316316
run: |
317317
if not exist "${{ matrix.config.working-directory }}" mklink /d "${{ matrix.config.working-directory }}" "C:\actions-runner\_work\arduino-ide\arduino-ide"
318318
319+
- name: Set Safe Directory (Windows)
320+
if: runner.os == 'Windows'
321+
run: git config --global --add safe.directory C:/actions-runner/_work/arduino-ide/arduino-ide
322+
319323
- name: Checkout
320324
uses: actions/checkout@v4
321325
with:
322-
set-safe-directory: ${{ runner.os == 'Windows' && 'C:/actions-runner/_work/arduino-ide/arduino-ide' || '' }}
326+
set-safe-directory: ${{ runner.os == 'Windows' && '*' || '' }}
323327

324328

325329
- name: Install Node.js

0 commit comments

Comments
 (0)