Skip to content

first stable

first stable #1

Workflow file for this run

name: poetry-publish
on:
release:
types: [released]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --without dev
- name: Build and publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
poetry version $(git describe --tags)
poetry build
poetry publish --dry-run --username __token__ --password $PYPI_TOKEN