From 5f409e0a20ea1cffd9167a20565d76e9a5d9099b Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Fri, 12 Feb 2021 11:28:58 +0100 Subject: [PATCH] Attempt at fixing the release CI --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee4c938..32f182a 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 -- GitLab