Skip to content

Commit ecaa2fa

Browse files
committed
update config-poetry to use installed python
1 parent e358722 commit ecaa2fa

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.github/actions/config-poetry/action.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ inputs:
1313
description: The version of jFrog to install
1414
default: 2.77.0
1515
poetry-virtualenvs-path:
16-
description: Path to the Poetry virtual environments, relative to GitHub workspace. The folder is cached only if it is a subdirectory of
16+
description:
17+
Path to the Poetry virtual environments, relative to GitHub workspace. The folder is cached only if it is a subdirectory of
1718
`poetry-cache-dir`.
1819
default: .cache/pypoetry/virtualenvs
1920
poetry-cache-dir:
@@ -41,16 +42,13 @@ runs:
4142
path: ${{ inputs.poetry-cache-dir }}
4243
key: poetry-${{ runner.os }}-${{ hashFiles('poetry.lock') }}
4344
restore-keys: poetry-${{ runner.os }}-
44-
- name: Install mise and Python
45-
uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
46-
with:
47-
version: 2025.7.12
48-
install_args: "python@${{ inputs.python-version }}"
49-
- name: Install jfrog and poetry through mise
45+
- name: Install jfrog, poetry and python through mise
5046
uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
5147
with:
5248
version: 2025.7.12
5349
experimental: true # needed to use the http backend for installation of jfrog on windows
50+
tool_versions: |
51+
python ${{ inputs.python-version }}
5452
- name: Vault
5553
# yamllint disable rule:line-length
5654
id: secrets
@@ -72,4 +70,3 @@ runs:
7270
echo "POETRY_VIRTUALENVS_PATH=${POETRY_VIRTUALENVS_PATH}" >> "$GITHUB_ENV"
7371
echo "POETRY_CACHE_DIR=${POETRY_CACHE_DIR}" >> "$GITHUB_ENV"
7472
${GITHUB_ACTION_PATH}/config-poetry.sh
75-

0 commit comments

Comments
 (0)