Skip to content

Commit

Permalink
pypi on tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Sep 11, 2023
1 parent c5dedb1 commit 403b51c
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 403b51c

Please sign in to comment.