From e47198b45c39b7851a8dcb0a5d54cf911dc65af2 Mon Sep 17 00:00:00 2001 From: John Veitch Date: Thu, 11 Jul 2024 14:41:52 +0100 Subject: [PATCH] Fix syntax error --- .github/workflows/pypi.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index ef55c5a..35713f0 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -69,10 +69,10 @@ jobs: environment: name: testpypi url: https://test.pypi.org/p/cpnest - # upload to PyPI on every tag starting with 'v' - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') - # alternatively, to publish when a GitHub Release is created, use the following rule: - #if: github.event_name == 'release' && github.event.action == 'published' + # upload to PyPI on every tag starting with 'v' + if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') + # alternatively, to publish when a GitHub Release is created, use the following rule: + #if: github.event_name == 'release' && github.event.action == 'published' steps: - name: Download artifacts uses: actions/download-artifact@v4