Skip to content

Commit 0956883

Browse files
committed
Use PYTHON_VERSION_SHORT for setup-python
Update the GitHub Actions workflow to pass env.PYTHON_VERSION_SHORT to actions/setup-python instead of env.PYTHON_VERSION. This ensures the setup action receives the short version string (e.g., "3.11") in the expected format when installing Python; other steps remain unchanged.
1 parent d4b804c commit 0956883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Python
2626
uses: actions/setup-python@v6
2727
with:
28-
python-version: ${{ env.PYTHON_VERSION }}
28+
python-version: ${{ env.PYTHON_VERSION_SHORT }}
2929

3030
- name: Show Python version
3131
run: python --version

0 commit comments

Comments
 (0)