Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pypa/gh-action-pypi-publish #717

Merged
merged 8 commits into from
May 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/miniupnpc_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,29 @@ jobs:
name: wheel-${{ env.FILE_NAME }}
path: ./dist
if-no-files-found: error

upload:
name: 🚀 Upload
runs-on: ubuntu-latest
needs: build

steps:
- name: Download results
uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: wheel-*
path: dist/

- name: List artifacts
run: |
ls -la dist/

- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/
print-hash: true
skip-existing: true
verbose: true