Skip to content

Commit

Permalink
fix upload v4 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-jansen committed Sep 26, 2024
1 parent 8f5beba commit d66ddfb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
overwrite: true
name: my-artifact-${{ matrix.runs-on }}
path: ./wheelhouse/*.whl

build_sdist:
Expand Down Expand Up @@ -101,11 +102,13 @@ jobs:
needs: [ build_wheels, build_sdist ]
runs-on: ubuntu-latest
steps:
- name: Download All Artifacts
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist

path: ./wheelhouse
pattern: my-artifact-*
merge-multiple: true
- run: ls -R my-artifact
- name: Publish to PyPI
if: ${{ github.event.inputs.target == 'PYPI' }}
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit d66ddfb

Please sign in to comment.