Skip to content

Commit

Permalink
[ci] First publish to Test PyPI without attestations
Browse files Browse the repository at this point in the history
  • Loading branch information
aschuh-hf committed Nov 21, 2024
1 parent 0199c76 commit ae3e476
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ jobs:
twine check dist/*
env:
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ env.version }}
- name: Publish packages to PyPI
if: github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@release/v1
- name: Publish packages to Test PyPI
if: ${{ github.event_name == 'release' || (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/pypi')) }}
uses: pypa/gh-action-pypi-publish@release/v1
Expand All @@ -55,3 +52,6 @@ jobs:
# See also issue https://github.com/pypa/gh-action-pypi-publish/issues/283 when using gh-action-pypi-publish twice.
attestations: false
skip-existing: true
- name: Publish packages to PyPI
if: github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit ae3e476

Please sign in to comment.