add ipykernel for testing #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to PyPI | |
# TODO: Update the event to trigger on a release | |
# on: | |
# release: | |
# types: [published] | |
# workflow_dispatch: | |
# jobs: | |
# pypi-publish: | |
# name: Build dist & upload to PyPI | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# with: | |
# fetch-depth: 1 | |
# - name: Set up Python | |
# uses: actions/setup-python@v5 | |
# with: | |
# python-version: '3.10' | |
# - name: Build binary wheel + source tarball | |
# run: | | |
# python3 -m pip install --upgrade pip build | |
# python3 -m build | |
# - name: Publish package to PyPI | |
# uses: pypa/gh-action-pypi-publish@release/v1 | |
# with: | |
# user: __token__ | |
# password: ${{ secrets.PYPI_API_TOKEN }} |