Skip to content

Commit 4071495

Browse files
mpolson64facebook-github-bot
authored andcommitted
Update PyPA "publish to PyPi" github action (#1073)
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
1 parent 2b8c23c commit 4071495

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cron.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
run: |
161161
python setup.py sdist bdist_wheel
162162
- name: Deploy to Test PyPI
163-
uses: pypa/gh-action-pypi-publish@master
163+
uses: pypa/gh-action-pypi-publish@release/v1
164164
with:
165165
user: lilidworkin
166166
password: ${{ secrets.test_pypi_password }}

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
run: |
102102
python setup.py sdist bdist_wheel
103103
- name: Deploy to PyPI
104-
uses: pypa/gh-action-pypi-publish@master
104+
uses: pypa/gh-action-pypi-publish@release/v1
105105
with:
106106
user: drfreund
107107
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)