From 745e2459a02acb83c2cf713de90c2bcbf899ca0f Mon Sep 17 00:00:00 2001 From: Rudolf Hornig Date: Wed, 17 Apr 2024 16:40:51 +0200 Subject: [PATCH] removed automatic publishing to testpypi --- .github/workflows/publish-to-pypi.yml | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 005af856..f19f9451 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -1,4 +1,4 @@ -name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI +name: Publish opp_env Python distribution to PyPI on: push @@ -27,30 +27,6 @@ jobs: name: python-package-distributions path: dist/ - publish-to-testpypi: - name: Publish Python 🐍 distribution 📦 to TestPyPI - needs: - - build - runs-on: ubuntu-latest - - environment: - name: testpypi - url: https://test.pypi.org/p/opp-env - - permissions: - id-token: write # IMPORTANT: mandatory for trusted publishing - - steps: - - name: Download all the dists - uses: actions/download-artifact@v3 - with: - name: python-package-distributions - path: dist/ - - name: Publish distribution 📦 to TestPyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://test.pypi.org/legacy/ - publish-to-pypi: name: >- Publish Python 🐍 distribution 📦 to PyPI