ci: Conditions for version tag event.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
5a58c623e1
commit
33db10141d
3 changed files with 11 additions and 7 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -4,6 +4,8 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- "**"
|
||||
tags:
|
||||
- "v*"
|
||||
pull_request:
|
||||
branches:
|
||||
- "**"
|
||||
|
|
@ -95,6 +97,7 @@ jobs:
|
|||
lint:
|
||||
if: >
|
||||
!failure() && !cancelled()
|
||||
&& !contains(github.ref, 'refs/tags/v')
|
||||
|
||||
name: Lint
|
||||
needs: [init] #needs: [init, deps]
|
||||
|
|
@ -122,6 +125,7 @@ jobs:
|
|||
test:
|
||||
if: >
|
||||
!failure() && !cancelled()
|
||||
&& !contains(github.ref, 'refs/tags/v')
|
||||
|
||||
name: Test
|
||||
needs: [init, lint]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue