chore: update .gitlab-ci.yml to only run at tag creation
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
948ac8a184
commit
d6bf2e7bc9
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,8 @@ cache:
|
|||
- build
|
||||
|
||||
build:
|
||||
only:
|
||||
- tags
|
||||
stage: build
|
||||
script:
|
||||
- gradle shadowJar
|
||||
|
@ -28,6 +30,8 @@ build:
|
|||
- tags
|
||||
|
||||
publish:
|
||||
only:
|
||||
- tags
|
||||
stage: publish
|
||||
script:
|
||||
- gradle publish
|
||||
|
|
Loading…
Reference in a new issue