Skip to content

Commit 370c6cd

Browse files
committed
Fix new deploy using build-and-inspect-python-package
1 parent 5567049 commit 370c6cd

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff 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/[email protected]
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/[email protected]
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:

0 commit comments

Comments
 (0)