From f20936b3106da7edb5002769d7d5f6c2b808e056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Tue, 16 Feb 2021 11:26:31 +0545 Subject: [PATCH] reintroduce testpypi --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d521ad..f25c204 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,13 @@ jobs: run: | python -m pip install --user build python -m build --sdist --wheel --outdir dist/ + - name: Publish to Test PyPI + uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.TEST_PYPI_API_TOKEN }} + repository_url: https://test.pypi.org/legacy/ + skip_existing: true - name: Publish to PyPI if: github.event_name == 'release' uses: pypa/gh-action-pypi-publish@master