File tree 2 files changed +29
-2
lines changed
2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : PYPI Upload
2
+
3
+ on :
4
+ - workflow_dispatch
5
+
6
+ jobs :
7
+ pypi_upload :
8
+ name : pypi-upload
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v2
13
+ - name : Setup Python
14
+ uses : actions/setup-python@v1
15
+ with :
16
+ python-version : 3.9
17
+ - name : Build Package
18
+ run : |
19
+ pip install wheel
20
+ python setup.py sdist bdist_wheel
21
+ - name : Publish to PyPI
22
+ uses : pypa/gh-action-pypi-publish@master
23
+ with :
24
+ user : __token__
25
+ password : ${{ secrets.PYPI_API_TOKEN }}
26
+ skip_existing : true
27
+ verbose : true
Original file line number Diff line number Diff line change 1
- name : build
1
+ name : tests
2
2
3
3
on :
4
4
- push
5
5
- pull_request
6
6
7
7
jobs :
8
8
test :
9
- name : build
9
+ name : tests
10
10
runs-on : ubuntu-latest
11
11
strategy :
12
12
matrix :
You can’t perform that action at this time.
0 commit comments