Skip to content

Commit

Permalink
Fix pypi publish (#197)
Browse files Browse the repository at this point in the history
* Fix pypi publish

The download-artifact job has been discontinued

* install setuptools
  • Loading branch information
Kyle-Verhoog authored Oct 23, 2024
1 parent a815bb6 commit 8a76a49
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.9'
python-version: '3.12'

- name: Build wheels
run: |
Expand All @@ -40,13 +40,14 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.9'
python-version: '3.12'

- name: Build sdist
run: |
python -m pip install --upgrade setuptools
python setup.py sdist
- uses: actions/upload-artifact@v4
Expand All @@ -59,7 +60,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: sdist
path: dist
Expand Down

0 comments on commit 8a76a49

Please sign in to comment.