File tree Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Original file line number Diff line number Diff line change 1
- name : Publish BlueGraph to PyPI
1
+ name : Publish sdist tarball to PyPi
2
+
2
3
on :
3
4
push :
4
5
tags :
5
6
- ' v[0-9]+.[0-9]+.[0-9]+'
7
+
6
8
jobs :
7
- publish :
9
+ build-n- publish :
8
10
name : Build and publish on PyPI
9
11
runs-on : ubuntu-latest
10
12
steps :
@@ -13,22 +15,12 @@ jobs:
13
15
uses : actions/setup-python@v2
14
16
with :
15
17
python-version : 3.7
16
- - name : Install pypa/build
17
- run : >-
18
- python -m
19
- pip install
20
- build
21
- --user
22
- - name : Build a binary wheel and a source tarball
23
- run : >-
24
- python -m
25
- build
26
- --sdist
27
- --wheel
28
- --outdir dist/
29
- .
18
+ - name : Build a source tarball
19
+ run :
20
+ python setup.py sdist
21
+
30
22
- name : Publish distribution package to PyPI
31
23
uses : pypa/gh-action-pypi-publish@master
32
24
with :
33
- username : __token__
34
- password : ${{ secrets.PYPI_API_TOKEN }}
25
+ user : __token__
26
+ password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments