diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e15e0439..a25695852 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -315,33 +315,37 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }} with: - packages_dir: python/mcap/dist - repository_url: https://test.pypi.org/legacy/ - skip_existing: true + packages-dir: python/mcap/dist + repository-url: https://test.pypi.org/legacy/ + skip-existing: true + attestations: false # https://github.com/pypa/gh-action-pypi-publish/issues/283#issuecomment-2499296440 - name: Publish mcap-protobuf-support to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }} with: - repository_url: https://test.pypi.org/legacy/ - skip_existing: true - packages_dir: python/mcap-protobuf-support/dist + repository-url: https://test.pypi.org/legacy/ + skip-existing: true + packages-dir: python/mcap-protobuf-support/dist + attestations: false # https://github.com/pypa/gh-action-pypi-publish/issues/283#issuecomment-2499296440 - name: Publish mcap-ros1-support to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }} with: - repository_url: https://test.pypi.org/legacy/ - skip_existing: true - packages_dir: python/mcap-ros1-support/dist + repository-url: https://test.pypi.org/legacy/ + skip-existing: true + packages-dir: python/mcap-ros1-support/dist + attestations: false # https://github.com/pypa/gh-action-pypi-publish/issues/283#issuecomment-2499296440 - name: Publish mcap-ros2-support to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }} with: - repository_url: https://test.pypi.org/legacy/ - skip_existing: true - packages_dir: python/mcap-ros2-support/dist + repository-url: https://test.pypi.org/legacy/ + skip-existing: true + packages-dir: python/mcap-ros2-support/dist + attestations: false # https://github.com/pypa/gh-action-pypi-publish/issues/283#issuecomment-2499296440 - name: Publish mcap to PyPI if: | @@ -349,7 +353,7 @@ jobs: startsWith(github.ref, 'refs/tags/releases/python/mcap/v') uses: pypa/gh-action-pypi-publish@release/v1 with: - packages_dir: python/mcap/dist + packages-dir: python/mcap/dist - name: Publish mcap-protobuf-support to PyPI if: | @@ -357,7 +361,7 @@ jobs: startsWith(github.ref, 'refs/tags/releases/python/mcap-protobuf-support/v') uses: pypa/gh-action-pypi-publish@release/v1 with: - packages_dir: python/mcap-protobuf-support/dist + packages-dir: python/mcap-protobuf-support/dist - name: Publish mcap-ros1-support to PyPI if: | @@ -365,7 +369,7 @@ jobs: startsWith(github.ref, 'refs/tags/releases/python/mcap-ros1-support/v') uses: pypa/gh-action-pypi-publish@release/v1 with: - packages_dir: python/mcap-ros1-support/dist + packages-dir: python/mcap-ros1-support/dist - name: Publish mcap-ros2-support to PyPI if: | @@ -373,7 +377,7 @@ jobs: startsWith(github.ref, 'refs/tags/releases/python/mcap-ros2-support/v') uses: pypa/gh-action-pypi-publish@release/v1 with: - packages_dir: python/mcap-ros2-support/dist + packages-dir: python/mcap-ros2-support/dist go: runs-on: ubuntu-latest