File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: poetry-publish
22on :
33 release :
44 types : [released]
5+ env :
6+ PYTHON_VERSION : " 3.13"
7+ POETRY_VERSION : " 1.8.5"
58jobs :
69 publish :
710 runs-on : ubuntu-latest
1013 - name : Set up Python
1114 uses : actions/setup-python@v5
1215 with :
13- python-version : 3.13
16+ python-version : ${{ env.PYTHON_VERSION }}
1417 - name : Install poetry
15- run : pipx install poetry==1.8.5 --python 3.13
18+ run : pipx install poetry==${{ env.POETRY_VERSION }} --python ${{ env.PYTHON_VERSION }}
1619 - name : Install dependencies
1720 run : |
1821 poetry install --only main,docs
Original file line number Diff line number Diff line change 33 workflow_dispatch :
44 pull_request :
55 branches : ["main"]
6+ env :
7+ POETRY_VERSION : " 1.8.5"
68jobs :
79 test :
810 runs-on : ${{ matrix.os }}
1820 with :
1921 python-version : ${{ matrix.python-version }}
2022 - name : Install poetry
21- run : pipx install poetry==1.8.5 --python ${{ matrix.python-version }}
23+ run : pipx install poetry==${{ env.POETRY_VERSION }} --python ${{ matrix.python-version }}
2224 - name : Install dependencies
2325 run : |
2426 poetry install --only main,test --all-extras
You can’t perform that action at this time.
0 commit comments