Skip to content

Commit e06cbdf

Browse files
committed
Add note about disabling attestations for Test PyPI step
See lengthy code comment for details.
1 parent 980f5c7 commit e06cbdf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish.yml

+5
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
4545
uses: pypa/gh-action-pypi-publish@release/v1
4646
with:
4747
repository_url: https://test.pypi.org/legacy/
48+
# The pypa/gh-action-pypi-publish action sources attestations from the
49+
# same source, so leaving attestations enabled (the default behavior)
50+
# for both steps will cause the production PyPI step to fail; however,
51+
# disabling attestations on the test PyPI step should allow the
52+
# production PyPI step to succeed
4853
attestations: false
4954

5055
- name: Publish distribution to PyPI

0 commit comments

Comments
 (0)