Skip to content

Commit d78e24e

Browse files
committed
1 parent bd2b933 commit d78e24e

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,23 @@ name: PyPI Publisher
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
jobs:
99
Publish-to-PyPI:
1010
runs-on: ubuntu-latest
1111
steps:
12-
-
13-
name: Checkout
12+
- name: Checkout
1413
uses: actions/checkout@v4
1514
with:
1615
fetch-depth: 0
17-
-
18-
name: Install Dependencies
19-
run: pip install wheel
20-
-
21-
name: Build Distribution packages
22-
run: python setup.py sdist bdist_wheel
23-
-
24-
name: Publish a Python distribution to PyPI
16+
- name: Install Dependencies
17+
run: pip install wheel build
18+
- name: Build Distribution packages
19+
run: python -m build
20+
- name: Publish a Python distribution to PyPI
2521
uses: pypa/gh-action-pypi-publish@master
2622
if: startsWith(github.ref, 'refs/tags/')
2723
with:
2824
user: __token__
2925
password: ${{ secrets.PYPI_PASSWORD }}
30-

0 commit comments

Comments
 (0)