diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index b12e972..ea14c61 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -96,13 +96,15 @@ jobs: - name: Publish distribution 📦 to Test PyPI # publish to TestPyPI on tag events if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'recast-hep/recast-atlas' - uses: pypa/gh-action-pypi-publish@v1.9.0 + uses: pypa/gh-action-pypi-publish@v1.10.0 with: repository-url: https://test.pypi.org/legacy/ print-hash: true + attestations: true - name: Publish distribution 📦 to PyPI if: github.event_name == 'release' && github.event.action == 'published' && github.repository == 'recast-hep/recast-atlas' - uses: pypa/gh-action-pypi-publish@v1.9.0 + uses: pypa/gh-action-pypi-publish@v1.10.0 with: print-hash: true + attestations: true