diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4a2e301..d6ac5a11 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,17 +3,17 @@ name: PyPI release on: push: branches: [main] - pull_request: - branches: [main] + workflow_dispatch: + # pull_request: + # branches: [main] defaults: run: shell: bash jobs: - tests: - needs: - - build + publish-to-testpypi: + name: Publish to TestPyPI runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -32,11 +32,6 @@ jobs: run: | curl -sSL https://install.python-poetry.org | python3 - poetry publish --build - # - 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: