Skip to content

Commit f57d9a5

Browse files
committed
Update ci.yml
1 parent df96ca4 commit f57d9a5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@ jobs:
2020
architecture: x64
2121
cache: 'pip'
2222

23-
- name: Install Poetry manager
23+
- name: Install Poetry (Windows)
24+
if: runner.os == 'Windows'
25+
run: |
26+
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -
27+
echo "$HOME\AppData\Roaming\Python\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
28+
29+
- name: Install Poetry (Unix)
30+
if: runner.os != 'Windows'
2431
run: pip install --upgrade poetry
2532

2633
- name: Install Dependencies
@@ -57,7 +64,7 @@ jobs:
5764
architecture: x64
5865
cache: 'pip'
5966

60-
- name: Install Poetry manager
67+
- name: Install Poetry
6168
run: pip install --upgrade poetry
6269

6370
- name: Install Dependencies

0 commit comments

Comments
 (0)