pypi on tag push (#552)
This commit is contained in:
5
.github/workflows/pypi.yml
vendored
5
.github/workflows/pypi.yml
vendored
@@ -2,12 +2,11 @@ name: publish pypi
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
pypi-publish:
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
||||
name: Upload release to PyPI
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user