From f4ca8902a69d0d9189354f9f13895ad5e5498267 Mon Sep 17 00:00:00 2001 From: Ulu Kagan Boelek Date: Mon, 2 Sep 2024 16:36:58 +0200 Subject: [PATCH] testpypi function deleted --- .github/workflows/publish_pypi.yml | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index f5a5d42..2e6a659 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -109,29 +109,3 @@ jobs: GITHUB_TOKEN: ${{ github.token }} run: | gh release upload '${{ github.ref_name }}' dist/** --repo '${{ github.repository }}' - - publish-to-testpypi: - name: Publish Python 🐍 distribution 📦 to TestPyPI - if: startsWith(github.ref, 'refs/tags/') - needs: - - build - runs-on: ubuntu-latest - - environment: - name: testpypi - url: https://test.pypi.org/p/${{ matrix.package }} - - 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/ - password: ${{ secrets.TEST_PYPI_API_TOKEN }} \ No newline at end of file