@@ -4,6 +4,10 @@ on: # yamllint disable-line rule:truthy rule:comments
44 release :
55 types : ["published"]
66
7+ env :
8+ POETRY_VERSION : " 2.1.3"
9+ PYTHON_VERSION : " 3.12"
10+
711jobs :
812 build :
913 name : " Build package with poetry"
1418 - name : " Setup environment"
1519 uses : " networktocode/gh-action-setup-poetry-environment@v7"
1620 with :
17- poetry-version : " 2.1.3 "
18- python-version : " 3.12 "
21+ poetry-version : " {% raw %}${{ env.POETRY_VERSION }}{% endraw %} "
22+ python-version : " {% raw %}${{ env.PYTHON_VERSION }}{% endraw %} "
1923 poetry-install-options : " --no-root"
2024 - name : " Build Documentation"
2125 run : " poetry run invoke build-and-check-docs"
6266 - name : " Setup environment"
6367 uses : " networktocode/gh-action-setup-poetry-environment@v7"
6468 with :
65- poetry-version : " 2.1.3 "
69+ poetry-version : " {% raw %}${{ env.POETRY_VERSION }}{% endraw %} "
6670 poetry-install-options : " --dry-run"
6771
6872 - name : " Retrieve built package from cache"
@@ -132,7 +136,7 @@ jobs:
132136 - name : " Setup environment"
133137 uses : " networktocode/gh-action-setup-poetry-environment@v7"
134138 with :
135- poetry-version : " 2.1.3 "
139+ poetry-version : " {% raw %}${{ env.POETRY_VERSION }}{% endraw %} "
136140 poetry-install-options : " --no-root"
137141
138142 - name : " Create release branch and bump version"
0 commit comments