From da7489cd5d83992a623b7b6b2390a01fe7227080 Mon Sep 17 00:00:00 2001 From: Shubham Bajpai Date: Tue, 27 Apr 2021 21:01:40 +0530 Subject: [PATCH] fix(actions): updated the build workflow condition (#317) Signed-off-by: shubham --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cfafe75..3c1128b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ on: jobs: lint: - if: ${{ (github.event.ref_type == 'branch') }} # to ignore builds on release + if: ${{ (github.event.ref_type != 'tag') }} # to ignore builds on release runs-on: ubuntu-latest steps: - name: Checkout @@ -44,7 +44,7 @@ jobs: unit-test: - if: ${{ (github.event.ref_type == 'branch') }} # to ignore builds on release + if: ${{ (github.event.ref_type != 'tag') }} # to ignore builds on release runs-on: ubuntu-latest steps: - name: Checkout