File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 68
68
run : |
69
69
make draft_changelog
70
70
sh scripts/build_docs.sh
71
-
72
- - name : Publish package
73
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
74
- uses : pypa/gh-action-pypi-publish@master
75
- with :
76
- user : __token__
77
- password : ${{ secrets.PYPI_TOKEN }}
78
- verbose : true
Original file line number Diff line number Diff line change
1
+ name : Publish to PyPI
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - name : Set up Python 3.8
12
+ uses : actions/setup-python@v2
13
+ with :
14
+ python-version : 3.8
15
+ - name : Publish package
16
+ uses : pypa/gh-action-pypi-publish@master
17
+ with :
18
+ user : __token__
19
+ password : ${{ secrets.PYPI_TOKEN }}
20
+ verbose : true
You can’t perform that action at this time.
0 commit comments