Skip to content

Commit 222caae

Browse files
authored
infra: fix release (#26455)
1 parent d46ab19 commit 222caae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/_release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ jobs:
232232
id: min-version
233233
run: |
234234
poetry run pip install packaging
235-
min_versions="$(poetry run python $GITHUB_WORKSPACE/.github/scripts/get_min_versions.py pyproject.toml release ${{ steps.setup-python.outputs.installed-python-version }})"
235+
python_version="$(poetry run python --version | awk '{print $2}')"
236+
min_versions="$(poetry run python $GITHUB_WORKSPACE/.github/scripts/get_min_versions.py pyproject.toml release $python_version)"
236237
echo "min-versions=$min_versions" >> "$GITHUB_OUTPUT"
237238
echo "min-versions=$min_versions"
238239

.github/workflows/_test.yml

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
shell: bash
4949
run: |
5050
poetry run pip install packaging tomli
51-
echo "Python version ${{ steps.setup-python.outputs.installed-python-version }}"
5251
python_version="$(poetry run python --version | awk '{print $2}')"
5352
min_versions="$(poetry run python $GITHUB_WORKSPACE/.github/scripts/get_min_versions.py pyproject.toml pull_request $python_version)"
5453
echo "min-versions=$min_versions" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)