Skip to content

Commit ace5228

Browse files
committed
On Win, inject poetry-dynamic-versioning into pipx
1 parent ceb9d4d commit ace5228

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/main.yaml

+10-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,16 @@ jobs:
2424
# install poetry
2525
#----------------------------------------------
2626
- name: Install Poetry
27-
run: pipx install poetry
28-
27+
run: |
28+
pipx install poetry
29+
30+
# We install poetry-dynamic-versioning into pipx because the install by poetry 2.x
31+
# currently triggers a Windows issue https://github.com/pypa/installer/issues/260
32+
- name: Install poetry-dynamic-versioning
33+
if: runner.os == 'Windows'
34+
run:
35+
pipx inject poetry poetry-dynamic-versioning
36+
2937
#----------------------------------------------
3038
# check-out repo and set-up python
3139
#----------------------------------------------

0 commit comments

Comments
 (0)