Skip to content

Commit 7bf0fb7

Browse files
authored
Merge pull request #344 from nicoddemus/fix-deploy
Fix new deploy using build-and-inspect-python-package
2 parents 5567049 + a8c09cf commit 7bf0fb7

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
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:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
18+
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1919
os: [ubuntu-latest, windows-latest]
2020
include:
2121
- python: "3.7"
@@ -26,7 +26,7 @@ jobs:
2626
tox_env: "py39"
2727
- python: "3.10"
2828
tox_env: "py310"
29-
- python: "3.11-dev"
29+
- python: "3.11"
3030
tox_env: "py311"
3131

3232
steps:

0 commit comments

Comments
 (0)