Skip to content

Commit 031f713

Browse files
committed
Fixed min python definition in yaml
1 parent 064fe3b commit 031f713

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/github-actions.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,20 @@ jobs:
2525
MIN_PYTHON=$(python ./versions.py -mode min | grep python | awk '{print $2}')
2626
MAX_PYTHON=$(python ./versions.py -mode max | grep python | awk '{print $2}')
2727
echo "python_versions=$(python ./versions.py -mode range $MIN_PYTHON $MAX_PYTHON)" >> $GITHUB_OUTPUT
28-
echo 'min_python_version="$MIN_PYTHON"' >> $GITHUB_OUTPUT
28+
echo "min_python_version=\"$MIN_PYTHON\"" >> $GITHUB_OUTPUT
2929
shell: bash
3030
minimum-version-testing:
3131
needs: generate_python_matrix
3232
runs-on: ${{ matrix.os }}
3333
strategy:
3434
matrix:
3535
os: [ubuntu-latest, macos-latest, windows-latest]
36-
python-version: ${{ fromJSON(needs.generate_python_matrix.outputs.min_python_version) }}
3736
steps:
3837
- uses: actions/checkout@v4
3938
- name: Set Up Python
4039
uses: actions/setup-python@v5
4140
with:
42-
python-version: ${{ matrix.python-version }}
41+
python-version: ${{ fromJSON(needs.generate_python_matrix.outputs.min_python_version) }}
4342
- name: Display Python Version
4443
run: python -c "import sys; print(sys.version)"
4544
shell: bash

0 commit comments

Comments
 (0)