fix(actions): updated the build workflow condition (#317)

Signed-off-by: shubham <shubham.bajpai@mayadata.io>
This commit is contained in:
Shubham Bajpai 2021-04-27 21:01:40 +05:30 committed by GitHub
parent be4334f7c4
commit da7489cd5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ on:
jobs: jobs:
lint: 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 runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@ -44,7 +44,7 @@ jobs:
unit-test: 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 runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout