Skip to content

Commit

Permalink
Updated pypi.yaml to run on version updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnstRoell committed Jun 5, 2024
1 parent 4bdb8df commit 26e1704
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Publish packackage to PyPI

on:
workflow_dispatch:
push:
tags:
- "v*.*.*"

jobs:
build:
Expand Down Expand Up @@ -31,7 +34,6 @@ jobs:
publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/')
needs:
- build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 26e1704

Please sign in to comment.