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 2067c88 commit b61acb7Copy full SHA for b61acb7
.github/workflows/release-python.yml
@@ -159,11 +159,12 @@ jobs:
159
with:
160
name: all-dist-${{ github.run_id }}
161
path: dist/
162
- - name: Publish distribution 📦 to PyPI
163
- if: startsWith(github.ref, 'refs/tags/')
164
- uses: pypa/gh-action-pypi-publish@release/v1
165
- name: Publish package distributions to TestPyPI
166
uses: pypa/gh-action-pypi-publish@release/v1
167
168
repository-url: https://test.pypi.org/legacy/
169
skip-existing: true
+ attestations: ${{ !startsWith(github.ref, 'refs/tags/') }}
+ - name: Publish distribution 📦 to PyPI
+ if: startsWith(github.ref, 'refs/tags/')
170
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments