Merge pull request #231 from IMSY-DKFZ/develop #2
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
# Uploads the current version of the package to PyPI when commit are pushed to main (including merges via pull requests) | |
name: Upload to PyPI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build and publish to pypi | |
uses: JRubics/poetry-publish@v1.17 | |
with: | |
pypi_token: ${{ secrets.PYPI_TOKEN }} | |
python_version: '3.10' |