Skip to content

fix: install poetry-dynamic-versioning, update README #3

fix: install poetry-dynamic-versioning, update README

fix: install poetry-dynamic-versioning, update README #3

Workflow file for this run

name: Publish to PyPi
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/poetry-plugin-pypi-proxy
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Bootstrap Poetry
run: |
pip install pipx
pipx install poetry
poetry self add poetry-dynamic-versioning[plugin]
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Build
run: |
poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1