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
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- gradle shadowJar
|
- gradle shadowJar
|
||||||
|
@ -28,6 +30,8 @@ build:
|
||||||
- tags
|
- tags
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
stage: publish
|
stage: publish
|
||||||
script:
|
script:
|
||||||
- gradle publish
|
- gradle publish
|
||||||
|
|
Loading…
Reference in a new issue