ci: restrict build step to main branch and tags (#6)
This commit is contained in:
parent
88be0f358e
commit
acc42d8079
@ -24,6 +24,9 @@ test:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
only:
|
||||||
|
- main
|
||||||
|
- tags
|
||||||
script:
|
script:
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
- make build/snapshot
|
- make build/snapshot
|
||||||
|
Loading…
Reference in New Issue
Block a user