From 51311e982c2a91c46f5c7cee47e60533961c1a01 Mon Sep 17 00:00:00 2001 From: Eric Joanis Date: Tue, 17 Sep 2024 17:58:37 -0400 Subject: [PATCH] fix(ci): pypi publish does not like the sigstore.json files --- .github/workflows/pythonpublish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 72dc9017..2f66294f 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -68,11 +68,15 @@ jobs: body: ${{ steps.changelog.outputs.changes }} token: ${{ github.token }} + - name: Remove the sigstore files, not supported by pypa publish + run: rm -f ./dist/*.sigstore.json + - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true + attestations: true deploy-docs: # Create latest docs