We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1900f82 commit 1003b84Copy full SHA for 1003b84
.github/workflows/publish-pypi.yml
@@ -74,7 +74,9 @@ jobs:
74
name: >-
75
Sign the Python 🐍 distribution 📦 with Sigstore
76
and upload them to GitHub Release
77
- if: github.repository_owner == 'pyopensci'
+ # Only sign on release
78
+ if: github.repository_owner == 'pyopensci' && github.event_name == 'release'
79
+ environment: pypi
80
needs:
81
- publish
82
runs-on: ubuntu-latest
@@ -94,8 +96,6 @@ jobs:
94
96
./dist/*.tar.gz
95
97
./dist/*.whl
98
- name: Upload artifact signatures to GitHub Release
- # Only upload on release
- if: github.event_name == 'release'
99
env:
100
GITHUB_TOKEN: ${{ github.token }}
101
# Upload to GitHub Release using the `gh` CLI.
0 commit comments