From 0e73d70e240734326eef33e13d3d172c7afe529c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jill-J=C3=AAnn=20Vie?= Date: Fri, 2 Dec 2022 15:11:41 +0900 Subject: [PATCH] Update python-publish.yml --- .github/workflows/python-publish.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index be5ac1a..9be403c 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -32,10 +32,13 @@ jobs: pip install build - name: Build package run: python -m build - - name: Publish package + - name: Publish distribution 📦 to Test PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.TEST_PYPI_API_TOKEN }} + repository_url: https://test.pypi.org/legacy/ + - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: - user: xtof.durr - password: - secure: lnyKvBnu+WfaBQQfVARs+dYXkuAEIhVkirtR9pKeFMso/IB8FVeEb3/7KShwpDLXQHBrH4yErVi2T7AT/Ou878qVjK7G07VZVMPJEayEIlMTAzDlnaG+i+8NPjbXgt3PhVg0nkIVGaL7A6gIrGZS+MZqAm919H6rhtiB2WttSaDDMLfEUNpfx9YMxViQ8KwpQ4I4rnLoa4SnFOgsScNH5a7aYZxR8LtMGPy0XaaMdRVRWxI2sXjP6nyPMqO/eE34241xu04a1ApqwFlFDRfIOocwdpb26cbyovVMJdR8HT8Ab4RC/HJKQwKncRNmzodk/v7GaN4QBaf8+JIn/JRFyuNBbZNsKBdNk+B3LQP5s6S4SwoUG0m5mOhTo+bHM6GiuCq5S5Rf5oe35+c7NA69qBSmCOEA+rLp3ueFxUxENtFmLyMHt3SmhAFUKoMwnEd2iIFiAq0PHXRWEkd1r/XkdEED7nK6DMNl2sGF2vbIa9Q8h53S7UxyUFpzwLS8Itvvp4Ad+YNLOI0+UDI87aFN2LuigFZgOytfU/UNnnowPSHeIGF0paIpeHjfSA4/9PbOkmUY7KPEbYDH65B/CRjE83kpgdpVQo8kJ40TOoM3BaV53vxhkqtTqC8dbsZ0z6pdMbI1+/h7YWgJrVbsxjy85uuG/AenSZpP7+vT15Q1u/A= + password: ${{ secrets.PYPI_API_TOKEN }}