Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hugovk opened this issue Sep 2, 2024 · 3 comments

Comments

@hugovk
Copy link

hugovk commented Sep 2, 2024

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?

@maikelvdh
Copy link
Contributor

This should be addressed by #446

@rhysd
Copy link
Owner

rhysd commented Sep 23, 2024

This issue should be fixed by v1.7.2.

@rhysd rhysd closed this as completed Sep 23, 2024
@hugovk
Copy link
Author

hugovk commented Sep 23, 2024

Confirmed, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants