From 5c05001c2d7f7565cbdd9aa13e90f74749acfb79 Mon Sep 17 00:00:00 2001 From: Luke Petre Date: Thu, 18 Nov 2021 04:03:27 -0500 Subject: [PATCH] Publish test packages (#550) --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71b9f4054..4990031cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -188,3 +188,10 @@ jobs: --sdist --wheel --outdir dist/ + - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + name: Publish distribution 📦 to Test PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + user: __token__ + password: ${{ secrets.TEST_PYPI_API_TOKEN }} + repository_url: https://test.pypi.org/legacy/