We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7421e3d commit 46135d0Copy full SHA for 46135d0
.github/actions/config-poetry/config-poetry.sh
@@ -15,6 +15,8 @@ set_build_env() {
15
config_poetry() {
16
jf config add repox --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_ACCESS_TOKEN"
17
jf poetry-config --server-id-resolve repox --repo-resolve "$ARTIFACTORY_PYPI_REPO"
18
+ # force poetry to use python available in the environment to avoid cached .venv to point to old python version
19
+ jf poetry env use python --build-name="$PROJECT" --build-number="$BUILD_NUMBER"
20
jf poetry install --build-name="$PROJECT" --build-number="$BUILD_NUMBER"
21
}
22
0 commit comments