File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,23 +11,34 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 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+
1916 - name : Build and Check Package
2017 uses : hynek/build-and-inspect-python-package@v1.5
18+
19+ - name : Download Package
20+ uses : actions/download-artifact@v3
21+ with :
22+ name : Packages
23+ path : dist
24+
2125 - name : Publish package to PyPI
2226 uses : pypa/gh-action-pypi-publish@master
2327 with :
2428 user : __token__
2529 password : ${{ secrets.pypi_token }}
30+
31+ - name : Set up Python
32+ uses : actions/setup-python@v4.5.0
33+ with :
34+ python-version : " 3.10"
35+
2636 - name : Generate release notes
2737 run : |
2838 pip install pypandoc
2939 sudo apt-get install pandoc
3040 python scripts/gen-release-notes.py
41+
3142 - name : GitHub Release
3243 uses : softprops/action-gh-release@v1
3344 with :
You can’t perform that action at this time.
0 commit comments