Skip to content

Conversation

@hiaselhans
Copy link
Contributor

This adds a github-actions workflow to build the wheels in all major python versions on all major platforms.

to take it one step further, this could be a deployment step but i don't want to push it on you:

  deploy:
    runs-on: ubuntu-latest
    needs: [build-wheel-linux, build-wheel-matrix]
    steps:
      - name: checkout source code
        uses: actions/checkout@v1
      - name: Load artifacts
        uses: actions/download-artifact@v2
        with:
          name: dist
          path: dist
      - name: Remove linux_x86_64 wheels
        run: rm dist/*-linux_x86_64.whl
      - name: Publish distribution package to PyPI
        uses: pypa/gh-action-pypi-publish@master
        with:
          user: ${{ secrets.pypi_user }}
          password: ${{ secrets.pypi_password }}

@inducer
Copy link
Owner

inducer commented Oct 30, 2022

Thanks for proposing this. I'm OK with the deployment step being added.

@hiaselhans
Copy link
Contributor Author

Thanks @inducer

I added a deployment task that runs on published releases
For it to work you need to add a secret to the github-repo:

PYPI_API_TOKEN: https://pypi.org/help/#apitoken

@hiaselhans
Copy link
Contributor Author

@inducer
Should we try it?

@inducer inducer merged commit f327434 into inducer:main Nov 6, 2022
@inducer
Copy link
Owner

inducer commented Nov 6, 2022

Thanks, looks good to me. I'll roll a release, to see how it goes.

@inducer
Copy link
Owner

inducer commented Nov 6, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants