Skip to content

Commit 0fe561f

Browse files
committed
install uv for windows
1 parent a730bf8 commit 0fe561f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/phantoms.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,16 @@ jobs:
6363
cache-dependency-path: |
6464
pypet2bids/pyproject.toml
6565
66-
- name: Install UV
66+
- name: Install UV (Linux/macOS)
67+
if: runner.os != 'Windows'
6768
run: curl -LsSf https://astral.sh/uv/install.sh | sh && echo "$HOME/.cargo/bin" >> $GITHUB_PATH
6869

70+
- name: Install UV (Windows)
71+
if: runner.os == 'Windows'
72+
run: |
73+
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
74+
echo "$env:USERPROFILE\.cargo\bin" >> $env:GITHUB_PATH
75+
6976
- name: Install Python Dependencies
7077
run: |
7178
cd pypet2bids

0 commit comments

Comments
 (0)