From cda42b28bc65248616f9397a30bc413b1e96d5a1 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Wed, 20 May 2020 21:31:16 +0200 Subject: [PATCH] Target real pypi in the create wheel workflow Change-Id: Ic764aae08b9d45011048f21c8ee992222c078bd2 (cherry picked from commit b67548ad788fc0eb8782dfd5a1d2a016dc5c7f78) --- .github/workflows/create-wheels.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-wheels.yaml b/.github/workflows/create-wheels.yaml index 02bf73b433..e551e3a338 100644 --- a/.github/workflows/create-wheels.yaml +++ b/.github/workflows/create-wheels.yaml @@ -9,7 +9,7 @@ env: # set this so the sqlalchemy test uses the installed version and not the local one PYTHONNOUSERSITE: 1 # comment TWINE_REPOSITORY_URL to use the real pypi. NOTE: change also the secret used in TWINE_PASSWORD - TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/ + # TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/ jobs: # two jobs are defined make-wheel-win-osx and make-wheel-linux. @@ -126,7 +126,8 @@ jobs: env: TWINE_USERNAME: __token__ # replace TWINE_PASSWORD with token for real pypi - TWINE_PASSWORD: ${{ secrets.test_pypi_token }} + # TWINE_PASSWORD: ${{ secrets.test_pypi_token }} + TWINE_PASSWORD: ${{ secrets.pypi_token }} run: | pip install -U twine twine upload --skip-existing dist/* @@ -278,7 +279,8 @@ jobs: env: TWINE_USERNAME: __token__ # replace TWINE_PASSWORD with token for real pypi - TWINE_PASSWORD: ${{ secrets.test_pypi_token }} + # TWINE_PASSWORD: ${{ secrets.test_pypi_token }} + TWINE_PASSWORD: ${{ secrets.pypi_token }} run: | pip install -U twine twine upload --skip-existing wheelhouse/*manylinux* -- 2.39.5