We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dc6b9b commit 0f8361dCopy full SHA for 0f8361d
.github/workflows/main.yml
@@ -5,6 +5,9 @@ on:
5
pull_request:
6
workflow_dispatch:
7
8
+env:
9
+ POETRY_VERSION: "2.2.1"
10
+
11
jobs:
12
build:
13
name: Build package
@@ -16,7 +19,7 @@ jobs:
16
19
with:
17
20
cache: "pip"
18
21
- name: Install poetry
- run: python3 -m pip install poetry==2.2.1
22
+ run: python3 -m pip install poetry==${{ env.POETRY_VERSION }}
23
- name: Install build dependencies
24
run: poetry install --only build
25
- name: Build a binary wheel and a source tarball
@@ -70,7 +73,7 @@ jobs:
70
73
71
74
run: |
72
75
# When upgrading poetry, remember to upgrade poetry-core in `pyproject.toml` (`build-system.requires`)
- python -m pip install poetry==2.2.1
76
+ python -m pip install poetry==${{ env.POETRY_VERSION }}
77
78
- name: Configure poetry
79
0 commit comments