chore: update .gitlab-ci.yml to only run at tag creation

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-06-29 08:57:22 +02:00
parent 948ac8a184
commit d6bf2e7bc9

View file

@ -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