From 3a14016e4b0d71c27b2ef6f4349d41ec1484fde9 Mon Sep 17 00:00:00 2001 From: c-bata Date: Fri, 17 Jan 2025 14:57:03 +0900 Subject: [PATCH] Fix a PyPI release action --- .github/workflows/pypi-publish.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 0c72fe156..0f5653685 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -30,3 +30,10 @@ jobs: - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 + with: + # Temporary workaround to bypass Twine's bug with attestation support + # See https://github.com/pypa/gh-action-pypi-publish/issues/283 + # TODO(c-bata): Once a new version of twine is released, delete this line. + # https://github.com/pypa/twine/pull/1172 + attestations: false +