File tree Expand file tree Collapse file tree 1 file changed +16
-26
lines changed Expand file tree Collapse file tree 1 file changed +16
-26
lines changed Original file line number Diff line number Diff line change 8
8
build-n-publish :
9
9
name : Build and publish library to PyPI
10
10
runs-on : ubuntu-20.04
11
-
12
- steps :
13
- - uses : actions/checkout@master
14
- - name : Set up Python
15
- uses : actions/setup-python@v1
16
- with :
17
- python-version : 3.8
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/
11
+ steps :
12
+ - uses : actions/checkout@master
13
+ - name : Set up Python
14
+ uses : actions/setup-python@v1
15
+ with :
16
+ python-version : 3.8
17
+ - name : Install pypa/build
18
+ run : python -m pip install build --user
19
+ - name : Build a binary wheel and a source tarball
20
+ run : python -m build --sdist --wheel --outdir dist/
31
21
.
32
- - name : Publish distribution to PyPI
33
- if : startsWith(github.ref, 'refs/tags')
34
- uses : pypa/gh-action-pypi-publish@master
35
- with :
36
- password : ${{ secrets.PYPI_API_TOKEN }}
37
-
22
+ - name : Publish distribution to PyPI
23
+ if : startsWith(github.ref, 'refs/tags')
24
+ uses : pypa/gh-action-pypi-publish@master
25
+ with :
26
+ password : ${{ secrets.PYPI_API_TOKEN }}
27
+
You can’t perform that action at this time.
0 commit comments