From d007d011381b08c815eea4755367b36b55bd7e54 Mon Sep 17 00:00:00 2001 From: LTLA Date: Mon, 9 Dec 2024 09:22:54 -0800 Subject: [PATCH] Remove conditional statements in separate workflow. --- .github/workflows/pypi-publish.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 94df4f9..3ca7e35 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -8,7 +8,6 @@ on: jobs: build_wheels: name: Build wheels on ${{ matrix.os }} - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') runs-on: ${{ matrix.os }} strategy: matrix: @@ -52,10 +51,6 @@ jobs: upload_pypi: needs: [build_wheels, build_sdist] runs-on: ubuntu-latest - # upload to PyPI on every tag starting with 'v' - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') - # alternatively, to publish when a GitHub Release is created, use the following rule: - # if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v4 with: