Skip to content

Commit 3a14140

Browse files
authored
Fix sudo ternary
1 parent 9f4b7ed commit 3a14140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: |
5656
cmake -S . -B build -G "${{ matrix.generator }}" -D PICO_SDK_PATH="${{ github.workspace }}/pico-sdk" ${{ matrix.libusb && '-D PICOTOOL_NO_LIBUSB=1' || '' }} ${{ matrix.compile && '-D USE_PRECOMPILED=false' || '' }}
5757
cmake --build build
58-
${{ runner.os == 'Windows' && '' || 'sudo' }} cmake --install build
58+
${{ runner.os != 'Windows' && 'sudo' || '' }} cmake --install build
5959
- name: Add to path (Windows)
6060
if: runner.os == 'Windows'
6161
run: echo "C:\Program Files (x86)\picotool\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append

0 commit comments

Comments
 (0)