Skip to content

Commit

Permalink
Update PyPA "publish to PyPi" github action (#1073)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #1073

Uh oh! On our actions page it tells us we are using an old version of the PyPA "publish to PyPi" github action. It looks like they sunset the "master" brand (ie no more updates, not even security) and want us to use this new one instead. Screenshot attached.

https://pxl.cl/2b87z

Reviewed By: pcanaran

Differential Revision: D38784031

fbshipit-source-id: 7a1539a7268d09b19dcdc405c25bb46bcf21053f
  • Loading branch information
mpolson64 authored and facebook-github-bot committed Aug 17, 2022
1 parent 2b8c23c commit 4071495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
run: |
python setup.py sdist bdist_wheel
- name: Deploy to Test PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: lilidworkin
password: ${{ secrets.test_pypi_password }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
run: |
python setup.py sdist bdist_wheel
- name: Deploy to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: drfreund
password: ${{ secrets.pypi_password }}

0 comments on commit 4071495

Please sign in to comment.