mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
fix(actions): updated the build workflow condition (#317)
Signed-off-by: shubham <shubham.bajpai@mayadata.io>
This commit is contained in:
parent
be4334f7c4
commit
da7489cd5d
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue