Skip to content

input "attestations" is not defined in action "pypa/gh-action-pypi-publish@release/v1" #445

@hugovk

Description

@hugovk

Add attestations: true to a pypa/gh-action-pypi-publish step:

    steps:
      - name: Upload package to PyPI
        uses: pypa/gh-action-pypi-publish@release/v1
        with:
          attestations: true

For example:

Fails with:

.github/workflows/deploy.yml:93:11: input "attestations" is not defined in action "pypa/gh-action-pypi-publish@release/v1". available inputs are "packages-dir", "packages_dir", "password", "print-hash", "print_hash", "repository-url", "repository_url", "skip-existing", "skip_existing", "user", "verbose", "verify-metadata", "verify_metadata" [action]
   |
93 |           attestations: true
   |           ^~~~~~~~~~~~~

This was recently added to the action:

Does this need adding to schema store or something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions