Skip to content

Commit

Permalink
adapt to changes in upload-artifact naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Luca van den Busch committed Jan 31, 2024
1 parent 10d752f commit d402844
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: PyPI publish

on:
push:
branches:
- main
release:
types:
- published
Expand Down Expand Up @@ -39,6 +42,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: artifact-${{ matrix.setup.build }}

build_sdist:
name: Build sdist and upload to PyPI
Expand Down Expand Up @@ -67,6 +71,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: ./wheels
pattern: artifact-*

- name: Build sdist
run: |
Expand All @@ -84,8 +89,8 @@ jobs:
echo ls -l dist
ls -l dist
- name: Publish package
uses: pypa/gh-action-pypi-publish@v1.8
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
# - name: Publish package
# uses: pypa/gh-action-pypi-publish@v1.8
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit d402844

Please sign in to comment.