File tree 1 file changed +18
-23
lines changed
1 file changed +18
-23
lines changed Original file line number Diff line number Diff line change 6
6
- ' v*'
7
7
8
8
jobs :
9
- release :
9
+ publish :
10
10
name : Create Release
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Checkout Code
14
14
uses : actions/checkout@master
15
- - name : Create Release
15
+ - name : Set Up Python
16
+ uses : actions/setup-python@v1
17
+ with :
18
+ python-version : ' 3.7'
19
+ - name : Install Python Dependencies
20
+ run : |
21
+ python -m pip install -U pip
22
+ python -m pip install -U setuptools wheel
23
+ - name : Build Distributions
24
+ run : python setup.py sdist bdist_wheel
25
+ - name : Create GitHub Release
16
26
id : create_release
17
27
uses : actions/create-release@v1
18
28
env :
24
34
Change Log:
25
35
draft : true # Give me a moment to fill in the description
26
36
prerelease : false
27
- deploy :
28
- name : Deploy Release to PyPI
29
- needs : release
30
- runs-on : ubuntu-latest
31
- steps :
32
- - uses : actions/checkout@v1
33
- - name : Set Up Python
34
- uses : actions/setup-python@v1
35
- with :
36
- python-version : ' 3.7'
37
- - name : Install dependencies
38
- run : |
39
- python -m pip install -U pip
40
- python -m pip install -U setuptools wheel
41
- - name : Build
42
- run : python setup.py sdist bdist_wheel
43
- - name : Publish
44
- uses : pypa/gh-action-pypi-publish@master
45
- with :
46
- user : __token__
47
- password : ${{ secrets.PYPI_TOKEN }}
37
+ artifacts : " dist/*"
38
+ - name : Publish to PyPI
39
+ uses : pypa/gh-action-pypi-publish@master
40
+ with :
41
+ user : __token__
42
+ password : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments