From 1fb17b13eae9366f5b7cdf92890fa0e1f75528ed Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Sun, 6 Nov 2022 11:15:53 -0800 Subject: [PATCH] Update pythonpublish.yml Updated to API key publishing method instead of username-password, which is deprecated. --- .github/workflows/pythonpublish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index c3a6a3e..64fa276 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -22,8 +22,8 @@ jobs: pip install parsimonious - name: Build and publish env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_API_KEY }} run: | python setup.py sdist bdist_wheel twine upload dist/*