From 408ddde61c143d0c26ca8ed5be9074adb26b905c Mon Sep 17 00:00:00 2001 From: Palmer Cox Date: Mon, 13 Dec 2021 20:25:44 -0500 Subject: [PATCH] wip-python-bindings --- .github/workflows/publish-to-pypi-on-release.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-to-pypi-on-release.yml b/.github/workflows/publish-to-pypi-on-release.yml index 69796f9..0f7755b 100644 --- a/.github/workflows/publish-to-pypi-on-release.yml +++ b/.github/workflows/publish-to-pypi-on-release.yml @@ -11,7 +11,13 @@ jobs: runs-on: ubuntu-latest steps: - name: DEBUG - run: echo ${{ github.event }} + run: echo ${{ toJSON(github.event) }} + - name: DEBUG2 + run: echo ${{ startsWith(github.ref, 'refs/tags/py-') }} + - name: DEBUG3 + run: echo ${{ !github.event.release.draft }} + - name: DEBUG4 + run: echo ${{ !github.event.release.prerelease }} - name: Download files from the release uses: robinraju/release-downloader@v1.3 with: @@ -27,5 +33,3 @@ jobs: user: __token__ password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ - # TODO: Remove this later - verbose: true