Bump locked dependencies (#195) #29
Workflow file for this run
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: Release to PyPI | |
on: | |
push: | |
tags: | |
- "*" | |
# This is disabled since it conflicts when a commit is both on main and a tag. | |
# # Will only release a pre-release version without a tag. | |
# # branches: | |
# # - main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.2.0 | |
- run: poetry self add "poetry-dynamic-versioning[plugin]" | |
- run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} | |
- run: poetry publish --build | |
# Can't use this because of poetry-dynamic-versioning | |
# - name: Build and publish to pypi | |
# uses: JRubics/[email protected] | |
# with: | |
# pypi_token: ${{ secrets.PYPI_TOKEN }} |