File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -11,23 +11,34 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v1
15
- - name : Set up Python
16
- uses : actions/setup-python@v1
17
- with :
18
- python-version : " 3.7"
14
+ - uses : actions/checkout@v3
15
+
19
16
- name : Build and Check Package
20
17
18
+
19
+ - name : Download Package
20
+ uses : actions/download-artifact@v3
21
+ with :
22
+ name : Packages
23
+ path : dist
24
+
21
25
- name : Publish package to PyPI
22
26
uses : pypa/gh-action-pypi-publish@master
23
27
with :
24
28
user : __token__
25
29
password : ${{ secrets.pypi_token }}
30
+
31
+ - name : Set up Python
32
+
33
+ with :
34
+ python-version : " 3.10"
35
+
26
36
- name : Generate release notes
27
37
run : |
28
38
pip install pypandoc
29
39
sudo apt-get install pandoc
30
40
python scripts/gen-release-notes.py
41
+
31
42
- name : GitHub Release
32
43
uses : softprops/action-gh-release@v1
33
44
with :
You can’t perform that action at this time.
0 commit comments