Skip to content

Commit

Permalink
pypi on tag push (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian authored Sep 11, 2023
1 parent c5dedb1 commit 20ed4c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 20ed4c1

Please sign in to comment.