Skip to content

Commit

Permalink
fix artifact download
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-jansen committed Sep 26, 2024
1 parent 98ecb36 commit 11683d6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,24 +96,24 @@ jobs:
with:
name: my-artifact-sdist
overwrite: true
path: dist/*.tar.gz
path: ./dist/*.tar.gz

upload_pypi:
needs: [ build_wheels, build_sdist ]
runs-on: ubuntu-latest
steps:
- name: Download All Artifacts
uses: actions/download-artifact@v4
with:
pattern: my-artifact-*
merge-multiple: true
# with:
# pattern: my-artifact-*
- name: Display structure of downloaded files
run: ls -R
- name: Publish to PyPI
if: ${{ github.event.inputs.target == 'PYPI' }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

- name: Publish to PyPI - Test
if: ${{ github.event.inputs.target == 'TESTPYPI' }}
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 11683d6

Please sign in to comment.