From f5dddade3b12944fe8b18004b115c7d9a0100753 Mon Sep 17 00:00:00 2001 From: Michael O'Keefe Date: Fri, 13 Dec 2024 06:56:22 -0700 Subject: [PATCH] Add explicit if statement to release only on publish --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4bc895af..6b3a900d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -132,7 +132,7 @@ jobs: name: release files to PyPI runs-on: ubuntu-latest # Protection Strategies -- use ONE of the following two lines: - # if: github.event_name == 'release' && github.event.action == 'published' # publish on via explicit publish + if: github.event_name == 'release' && github.event.action == 'published' # publish on via explicit publish # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') # publish on tag starting w/ 'v' steps: - name: download files