Skip to content

Commit 336d5f1

Browse files
committed
Use explicit if-else
1 parent 43865a2 commit 336d5f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/run_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up uv venv
2727
run: |
2828
uv venv && . .venv/*/activate
29-
[ $RUNNER_OS == 'Windows' ] && .\\venv\\Scripts\\activate || . .venv/bin/activate
29+
if [ $RUNNER_OS != 'Windows' ]; then source venv/bin/activate; else .\\venv\\Scripts\\activate; fi
3030
echo "PATH=$PATH" >> $GITHUB_ENV
3131
- name: Install package
3232
run: |

0 commit comments

Comments
 (0)