Skip to content

Commit

Permalink
disable attestations for PyPI uploads (cause HTTPError: 400 Bad Reque…
Browse files Browse the repository at this point in the history
…st as of now)
  • Loading branch information
slayoo authored Nov 6, 2024
1 parent 8b7a497 commit 1591524
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests+pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,15 @@ jobs:
cd ..
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: pypa/gh-action-pypi-publish@unstable/v1
uses: pypa/gh-action-pypi-publish@unstable/v1.12.0
with:
attestations: false
repository_url: https://test.pypi.org/legacy/
packages-dir: ${{ matrix.package-dir }}/dist

- if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@unstable/v1
uses: pypa/gh-action-pypi-publish@unstable/v1.12.0
with:
attestations: false
packages-dir: ${{ matrix.package-dir }}/dist

0 comments on commit 1591524

Please sign in to comment.