diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8b6556..7a2d19a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,23 +27,20 @@ jobs: path: | dist/numbat*.whl dist/*.tar.gz - - upload_pypi: - needs: build_wheel_and_sdist - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [ "3.10", "3.11", "3.12", "3.13" ] - steps: - uses: actions/download-artifact@v4 with: # unpacks default artifact into dist/ # if `name: artifact` is omitted, the action will create extra parent dir name: artifact_${{ matrix.python-version }} + merge-multiple: true path: dist + upload_pypi: + needs: build_wheel_and_sdist + runs-on: ubuntu-latest + steps: - name: Publish a Python distribution to PyPI - uses: pypa/gh-action-pypi-publish@v1.8.2 + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_DEPLOY_TOKEN }}