Merge pull request #8 from NsquaredLab/7-biosignalplotwidget-stops-wo… #4
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - main # Only trigger on the main branch | |
| jobs: | |
| deploy: | |
| name: Build and Publish | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.x" | |
| - name: Install Poetry | |
| run: pip install poetry | |
| - name: Authenticate PyPI | |
| run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}" | |
| - name: Publish to PyPI | |
| run: poetry publish --build --no-interaction |