Skip to content

Bump locked dependencies (#195) #29

Bump locked dependencies (#195)

Bump locked dependencies (#195) #29

Workflow file for this run

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 }}