Skip to content

Commit de1f505

Browse files
committed
Update pypi-release.yml
* Create releases for multiple Python versions Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent 1d6968f commit de1f505

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/pypi-release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,18 @@ jobs:
2323
name: Build and publish library to PyPI
2424
runs-on: ubuntu-24.04
2525

26+
strategy:
27+
matrix:
28+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
29+
2630
steps:
27-
- uses: actions/checkout@v4
31+
- name: Checkout code
32+
uses: actions/checkout@v4
33+
2834
- name: Set up Python
2935
uses: actions/setup-python@v5
3036
with:
31-
python-version: 3.12
37+
python-version: ${{ matrix.python-version }}
3238

3339
- name: Install pypa/build and twine
3440
run: python -m pip install --user --upgrade build twine pkginfo

0 commit comments

Comments
 (0)