Skip to content

Only run tests on branch pushes #3

Only run tests on branch pushes

Only run tests on branch pushes #3

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
environment: pypi
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install poetry
- name: Build and publish
run: |
poetry build
poetry publish