diff --git a/.github/workflows/workflows.yml b/.github/workflows/workflows.yml index ef4177a..2c59a53 100644 --- a/.github/workflows/workflows.yml +++ b/.github/workflows/workflows.yml @@ -1,6 +1,15 @@ name: Publish Python distribution to PyPI and TestPyPI -on: push +on: + pull_request + push: + tags: + - '[1-9]+.[0-9]+.[0-9]+' # Only deploy on tags with semantic versioning + - '[1-9]+.[0-9]+.[0-9]+-[a-z]+' # Only deploy on tags with semantic versioning + - 'v[1-9]+.[0-9]+.[0-9]+' # Only deploy on tags with semantic versioning + - 'v[1-9]+.[0-9]+.[0-9]+-[a-z]+' # Only deploy on tags with semantic versioning + branches: + - release/* jobs: build: