diff --git a/.github/workflows/miniupnpc_wheels.yml b/.github/workflows/miniupnpc_wheels.yml index 115b995..f90d52a 100644 --- a/.github/workflows/miniupnpc_wheels.yml +++ b/.github/workflows/miniupnpc_wheels.yml @@ -245,3 +245,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