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 bf9147b commit bfdcdc9Copy full SHA for bfdcdc9
.github/workflows/quality-checks.yml
@@ -16,6 +16,10 @@ on:
16
description: Toggle to run sonar code analyis on this repository.
17
default: true
18
required: false
19
+ reinstall_poetry:
20
+ type: boolean
21
+ description: Toggle to reinstall poetry on top of python version installed by asdf.
22
+ default: false
23
24
jobs:
25
quality_checks:
@@ -87,6 +91,14 @@ jobs:
87
91
env:
88
92
PYTHON_CONFIGURE_OPTS: --enable-shared
89
93
94
+ - name: Reinstall poetry
95
+ if: ${{ inputs.reinstall_poetry }}
96
+ run: |
97
+ poetry_tool_version=$(cat .tool-versions | grep poetry)
98
+ poetry_version=${poetry_tool_version//"poetry "}
99
+ asdf uninstall poetry $poetry_version
100
+ asdf install poetry
101
+
90
102
- name: Setting up .npmrc
103
104
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments