Skip to content

Commit

Permalink
update workflow- only run on new tag, use newest gh sigstore action
Browse files Browse the repository at this point in the history
  • Loading branch information
Paige Gulley committed May 7, 2024
1 parent d5d8c52 commit e9b4462
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .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 and TestPyPI

on: push
on:
push:
tags:
- "*"

jobs:
build:
Expand Down Expand Up @@ -68,7 +71,7 @@ jobs:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v1.2.3
uses: sigstore/gh-action-sigstore-python@v2.1.1
with:
inputs: >-
./dist/*.tar.gz
Expand Down

0 comments on commit e9b4462

Please sign in to comment.