Skip to content

Commit

Permalink
Push to PyPI only when version is tagged
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav1 committed Oct 24, 2023
1 parent 1342fbc commit 3e908da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: "Publish Python distribution to PyPI"
on: [push]

on:
push:
tags:
- v*
jobs:
build-and-publish:
name: "Publish Python distribution to PyPI"
Expand Down

0 comments on commit 3e908da

Please sign in to comment.