Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use trusted publisher for PyPI uploads (#2330)
Summary: [Upgrade to Trusted Publishing](https://github.com/pytorch/botorch/actions/runs/8914483363/job/24484640242#step:9:20) Trusted Publishers allows publishing packages to PyPI from automated environments like GitHub Actions without needing to use username/password combinations or API tokens to authenticate with PyPI. Read more: https://docs.pypi.org/trusted-publishers I set-up the trusted publishers for deploy & nightly workflows on pypi & test-pypi. These will generate temporary tokens for upload originating from these workflows and avoid the need for tokens. Pull Request resolved: #2330 Test Plan: https://github.com/pytorch/botorch/actions/runs/8916612542/job/24488330050 Reviewed By: Balandat Differential Revision: D56861480 Pulled By: saitcakmak fbshipit-source-id: 6a2a5403bae6fcc76a5ac2ae947d73473b8d47e6
- Loading branch information