pypi on tag push (#552)

This commit is contained in:
Wing Lian
2023-09-11 10:33:42 -04:00
committed by GitHub
parent c5dedb17ad
commit 20ed4c1f9e

View File

@@ -2,12 +2,11 @@ name: publish pypi
on: on:
push: push:
branches: tags:
- "main" - '*'
jobs: jobs:
pypi-publish: pypi-publish:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
name: Upload release to PyPI name: Upload release to PyPI
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: environment: