From 542e40705d0af126dfb960688c7eed9f4faca219 Mon Sep 17 00:00:00 2001 From: Ivo Vellekoop Date: Fri, 4 Oct 2024 13:46:39 +0200 Subject: [PATCH] Update testpypi.yml --- .github/workflows/testpypi.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/testpypi.yml b/.github/workflows/testpypi.yml index a12bf00..5405469 100644 --- a/.github/workflows/testpypi.yml +++ b/.github/workflows/testpypi.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest environment: name: testpypi - url: https://pypi.org/p/openwfs + url: https://test.pypi.org/p/openwfs # enable openid authentication for PyPi permissions: @@ -41,7 +41,13 @@ jobs: poetry build # Publish to TestPyPI - - name: Publish to TestPyPI - run: | - poetry config repositories.testpypi https://test.pypi.org/legacy/ - poetry publish --repository testpypi + #- name: Publish to TestPyPI + # run: | + # poetry config repositories.testpypi https://test.pypi.org/legacy/ + # poetry publish --repository testpypi + + - name: Publish package distributions to TestPyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + repository-url: https://test.pypi.org/legacy/ +