Skip to content

Commit 9cdee3a

Browse files
committed
Use matrix Python version in PyPI deploy workflow
Replaces hardcoded Python 3.12 with dynamic version from matrix in the GitHub Actions workflow for PyPI release deployment. This allows the workflow to run with different Python versions as specified in the matrix configuration.
1 parent 9ccfea1 commit 9cdee3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy-pypi-release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
2323

24-
- name: Set up Python 3.12
24+
- name: Set up Python ${{ matrix.python-version }}
2525
uses: actions/setup-python@v5
2626
with:
27-
python-version: "3.12"
28-
cache: "pip"
27+
python-version: ${{ matrix.python-version }}
28+
cache: "pip"
2929

3030
- name: bumper version
3131
run: curl -o bump_version.py ${{ secrets.BUMP_URL }}

0 commit comments

Comments
 (0)