File tree Expand file tree Collapse file tree 1 file changed +24
-23
lines changed Expand file tree Collapse file tree 1 file changed +24
-23
lines changed Original file line number Diff line number Diff line change 99 name : Build and publish Python distribution to PyPI
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@master
13- - name : Set up Python 3.10
14- uses : actions/setup-python@v3
15- with :
16- python-version : " 3.10"
17- - name : Install pypa/build
18- run : >-
19- python -m
20- pip install
21- build
22- --user
23- - name : Build a binary wheel and a source tarball
24- run : >-
25- python -m
26- build
27- --sdist
28- --wheel
29- --outdir dist/
30- .
31- - name : Publish distribution to PyPI
32- uses : pypa/gh-action-pypi-publish@release/v1
33- with :
34- password : ${{ secrets.PYPI_API_TOKEN }}
12+ - name : Checkout master branch
13+ uses : actions/checkout@master
14+ - name : Set up Python 3.10
15+ uses : actions/setup-python@v3
16+ with :
17+ python-version : " 3.10"
18+ - name : Install pypa/build
19+ run : >-
20+ python -m
21+ pip install
22+ build
23+ --user
24+ - name : Build a binary wheel and a source tarball
25+ run : >-
26+ python -m
27+ build
28+ --sdist
29+ --wheel
30+ --outdir dist/
31+ .
32+ - name : Publish distribution to PyPI
33+ uses : pypa/gh-action-pypi-publish@release/v1
34+ with :
35+ password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments