From 40714956c1849ac11350fcbf7a72a2aa41f939a4 Mon Sep 17 00:00:00 2001 From: Miles Olson Date: Wed, 17 Aug 2022 08:27:44 -0700 Subject: [PATCH] Update PyPA "publish to PyPi" github action (#1073) Summary: Pull Request resolved: https://github.com/facebook/Ax/pull/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 --- .github/workflows/cron.yml | 2 +- .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index fe4352241d5..db7965144f7 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -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 }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e3d6f802093..23efec31fbe 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }}