Skip to content

Commit 030ebbe

Browse files
committed
update CI
1 parent f3fbe86 commit 030ebbe

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/python-publish.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.7", "3.11"]
15+
python-version: ["3.8", "3.11", "3.12"]
1616

1717
steps:
1818
- name: Checkout code
@@ -24,8 +24,7 @@ jobs:
2424
python-version: ${{ matrix.python-version }}
2525

2626
- name: Install build tools
27-
run: |
28-
python -m pip install --upgrade pip setuptools wheel build
27+
run: python -m pip install --upgrade pip setuptools wheel build
2928

3029
- name: Build package
3130
run: python -m build
@@ -37,15 +36,18 @@ jobs:
3736
id-token: write
3837

3938
steps:
40-
- uses: actions/checkout@v4
39+
- name: Checkout code
40+
uses: actions/checkout@v4
4141

42-
- uses: actions/setup-python@v5
42+
- name: Set up Python
43+
uses: actions/setup-python@v5
4344
with:
44-
python-version: "3.11"
45-
46-
- run: python -m pip install --upgrade build
45+
python-version: "3.12"
4746

48-
- run: python -m build
47+
- name: Install Twine and build
48+
run: |
49+
python -m pip install --upgrade build twine
50+
python -m build
4951
5052
- name: Publish to PyPI
5153
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)