From: Federico Caselli Date: Wed, 20 May 2020 19:31:16 +0000 (+0200) Subject: Target real pypi in the create wheel workflow X-Git-Tag: rel_1_3_18~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cda42b28bc65248616f9397a30bc413b1e96d5a1;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Target real pypi in the create wheel workflow Change-Id: Ic764aae08b9d45011048f21c8ee992222c078bd2 (cherry picked from commit b67548ad788fc0eb8782dfd5a1d2a016dc5c7f78) --- 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*