diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c2016f4..4f44929 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,6 +58,8 @@ jobs: packages-dir: ${{ matrix.module }}/dist repository-url: https://test.pypi.org/legacy/ skip-existing: true + - name: Delete attestation file if present to pass twine check + run: rm -f ${{ matrix.module }}/dist/*.attestation - name: Upload the package to pypi on `main` only if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'onnela-lab' && matrix.python-version == '3.10' uses: pypa/gh-action-pypi-publish@release/v1