Skip to content

Commit ae3e476

Browse files
committed
[ci] First publish to Test PyPI without attestations
1 parent 0199c76 commit ae3e476

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ jobs:
4343
twine check dist/*
4444
env:
4545
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ env.version }}
46-
- name: Publish packages to PyPI
47-
if: github.event_name == 'release'
48-
uses: pypa/gh-action-pypi-publish@release/v1
4946
- name: Publish packages to Test PyPI
5047
if: ${{ github.event_name == 'release' || (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/pypi')) }}
5148
uses: pypa/gh-action-pypi-publish@release/v1
@@ -55,3 +52,6 @@ jobs:
5552
# See also issue https://github.com/pypa/gh-action-pypi-publish/issues/283 when using gh-action-pypi-publish twice.
5653
attestations: false
5754
skip-existing: true
55+
- name: Publish packages to PyPI
56+
if: github.event_name == 'release'
57+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)