diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7089177..2e7fb6ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,7 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI on: + workflow_dispatch: push: branches: - main @@ -21,7 +22,7 @@ jobs: uses: abatilo/actions-poetry@v2 with: poetry-version: "2.2.1" - + - name: Install testing requirements run: poetry add requests==2.32.5 @@ -39,28 +40,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/vulncheck-sdk - permissions: - id-token: write - steps: - - name: Download all the dists - uses: actions/download-artifact@v4 - with: - name: python-package-distributions - path: dist/ - - name: Publish package distributions to PyPI - 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