diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee4c9388dad58d837efd0fcbdfa8234a41c08583..32f182a00d40dc4eaa2c042a2927085bcbdea783 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,11 +38,14 @@ test: release: stage: "release" + cache: {} script: - "./gradlew publish" artifacts: paths: - "build/libs/*" + dependencies: + - "build" rules: - - if: "$CI_COMMIT_TAG != ''" + - if: "$CI_COMMIT_TAG != '' && $CI_COMMIT_BRANCH == 'master'" when: always