File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -3,28 +3,23 @@ name: PyPI Publisher
3
3
on :
4
4
push :
5
5
tags :
6
- - ' * '
6
+ - " * "
7
7
8
8
jobs :
9
9
Publish-to-PyPI :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- -
13
- name : Checkout
12
+ - name : Checkout
14
13
uses : actions/checkout@v4
15
14
with :
16
15
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
25
21
uses : pypa/gh-action-pypi-publish@master
26
22
if : startsWith(github.ref, 'refs/tags/')
27
23
with :
28
24
user : __token__
29
25
password : ${{ secrets.PYPI_PASSWORD }}
30
-
You can’t perform that action at this time.
0 commit comments