Skip to content

Commit

Permalink
Update PyPA "publish to PyPi" github action (#1352)
Browse files Browse the repository at this point in the history
Summary:
Current `master` version of the PyPA "publish to PyPi" github action is unsupported: https://github.com/pytorch/botorch/actions/runs/2874668079

Update version to `release/v1` as suggested.

Pull Request resolved: #1352

Reviewed By: saitcakmak, mpolson64

Differential Revision: D38786169

Pulled By: Balandat

fbshipit-source-id: 1125dc8d2ed18feb9e4f8cc6d290f3604f1acffe
  • Loading branch information
Balandat authored and facebook-github-bot committed Aug 17, 2022
1 parent 653f4c4 commit 5c54668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: |
./scripts/build_and_verify_py_packages.sh
- name: Deploy to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: |
./scripts/build_and_verify_py_packages.sh
- name: Deploy to Test PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
Expand Down

0 comments on commit 5c54668

Please sign in to comment.