From ef75cd4d1a14a55a28e23c4a2580254591edd601 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Mon, 6 Dec 2021 00:33:32 -0500 Subject: [PATCH] update release trigger --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0267de4..867611f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -123,7 +123,10 @@ jobs: needs: - test runs-on: ubuntu-20.04 - if: github.ref == 'refs/heads/master' + if: > + (github.event_name == 'push' && github.ref == 'refs/heads/master') + || + (github.event_name == 'create' && github.event.ref_type == 'tag') steps: - uses: actions/checkout@v2