From e5138bf1fe7263b28d8618d99873552dc6646151 Mon Sep 17 00:00:00 2001 From: Jack <87339414+algojack@users.noreply.github.com> Date: Thu, 24 Feb 2022 14:14:35 -0500 Subject: [PATCH 1/2] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3bce8e0f6..7902669d1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: upload-to-pypi: runs-on: ubuntu-20.04 needs: ['build-test'] - if: ${{ github.event_name == 'push' && contains(github.ref, 'master') && startsWith(github.ref, 'refs/tags') }} + if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }} steps: - name: Check out code uses: actions/checkout@v2 From bec4088ca399196cb1151220b538b4ddbe646682 Mon Sep 17 00:00:00 2001 From: Jack <87339414+algojack@users.noreply.github.com> Date: Thu, 24 Feb 2022 14:22:12 -0500 Subject: [PATCH 2/2] Update build.yml --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7902669d1..09f97ca41 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,8 @@ name: "Build workflow" on: pull_request: push: + tags: + - v** branches: - master jobs: