From 3531c67e2f55dc44858ed48b10e4f58b59de7d68 Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Mon, 25 Sep 2023 11:54:16 -0400 Subject: [PATCH] fix upload event filter --- .github/workflows/build_wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index ab23ae14..91fab9e6 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -10,6 +10,6 @@ jobs: build: uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1 with: - upload_to_pypi: ${{ github.event_name == 'released'}} + upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }} secrets: pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }}