Skip to content

Commit

Permalink
chore: ensure publish GHA only run for latest commit/tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed Apr 11, 2024
1 parent 49a220c commit 513ce21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
name: Publish on PyPi

on: release
on:
release:
types: [published]

jobs:
build:
Expand Down

0 comments on commit 513ce21

Please sign in to comment.