File tree 2 files changed +29
-4
lines changed
2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 16
16
build :
17
17
runs-on : ubuntu-latest
18
18
steps :
19
- - uses : actions/checkout@v3
19
+ - name : Checkout code
20
+ uses : actions/checkout@v3
20
21
- name : Set up Python
21
22
uses : actions/setup-python@v4
22
23
with :
31
32
if : always()
32
33
uses : actions/upload-artifact@v2
33
34
with :
34
- name : dist
35
+ name : distribution
35
36
path : dist/
Original file line number Diff line number Diff line change 13
13
- ' v*'
14
14
15
15
jobs :
16
+ release :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - name : Checkout code
20
+ uses : actions/checkout@v3
21
+ - name : Create Release
22
+ id : create_release
23
+ uses : actions/create-release@v1
24
+ env :
25
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
26
+ with :
27
+ tag_name : ${{github.ref}}
28
+ release_name : DwfPy Release ${{github.ref}}
29
+ body : |
30
+ This release is available via PyPI from https://pypi.org/project/dwfpy.
31
+
32
+ You can install the latest version of DwfPy by running
33
+
34
+ ```
35
+ pip install --upgrade dwfpy
36
+ ```
37
+ draft : false
38
+ prerelease : false
16
39
publish :
17
40
runs-on : ubuntu-latest
18
41
steps :
19
- - uses : actions/checkout@v3
42
+ - name : Checkout code
43
+ uses : actions/checkout@v3
20
44
- name : Set up Python
21
45
uses : actions/setup-python@v4
22
46
with :
25
49
run : pip install build twine
26
50
- name : Build Package
27
51
run : make build
28
- - name : Publish Package to PyPI
52
+ - name : Publish package to PyPI
29
53
uses : pypa/gh-action-pypi-publish@release/v1
30
54
with :
31
55
user : __token__
You can’t perform that action at this time.
0 commit comments