Skip to content

Commit 5cf84d9

Browse files
committed
poetry installation step before python setup
1 parent cda92b0 commit 5cf84d9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/build-publish-documentation.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ jobs:
2929
with:
3030
fetch-depth: 0 # fetch all commits/branches so that mike works
3131

32-
- name: Setup Python ${{ matrix.python-version }}
33-
uses: actions/setup-python@v5.6.0
34-
id: setup-python
35-
with:
36-
python-version: ${{ matrix.python-version }}
37-
cache: 'poetry'
38-
3932
#----------------------------------------------
4033
# install & configure poetry
4134
#----------------------------------------------
@@ -44,6 +37,13 @@ jobs:
4437
pipx install poetry
4538
pipx inject poetry poetry-dynamic-versioning
4639
40+
- name: Setup Python ${{ matrix.python-version }}
41+
uses: actions/setup-python@v5.6.0
42+
id: setup-python
43+
with:
44+
python-version: ${{ matrix.python-version }}
45+
cache: 'poetry'
46+
4747
#----------------------------------------------
4848
# install dependencies
4949
#----------------------------------------------

.github/workflows/main.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ jobs:
2626
with:
2727
fetch-depth: 0
2828

29-
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v5.6.0
31-
with:
32-
python-version: ${{ matrix.python-version }}
33-
cache: "poetry"
34-
3529
#----------------------------------------------
3630
# install & configure poetry
3731
#----------------------------------------------
@@ -40,6 +34,12 @@ jobs:
4034
pipx install poetry
4135
pipx inject poetry poetry-dynamic-versioning
4236
37+
- name: Set up Python ${{ matrix.python-version }}
38+
uses: actions/setup-python@v5.6.0
39+
with:
40+
python-version: ${{ matrix.python-version }}
41+
cache: "poetry"
42+
4343
#----------------------------------------------
4444
# install dependencies
4545
#----------------------------------------------

0 commit comments

Comments
 (0)