From 2a2d18c22707518864736aea6f8fc1aaeec2ee39 Mon Sep 17 00:00:00 2001 From: Pierre Ricadat Date: Thu, 2 May 2019 15:35:12 +0900 Subject: [PATCH] Try something else --- .circleci/config.yml | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b123162c..6a5571c3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,34 +70,28 @@ jobs: workflows: version: 2 - master-snapshot: + build: jobs: - - lint212_jdk8 - - lint212_jdk11 - - test212_jdk8: - requires: - - lint212_jdk8 - - test212_jdk11: - requires: - - lint212_jdk11 - - release: - context: Sonatype - requires: - - test212_jdk8 - - test212_jdk11 + - lint212_jdk8: filters: - branches: - only: master - tag-release: - jobs: - - lint212_jdk8 - - lint212_jdk11 + tags: + only: /^v[0-9]+(\.[0-9]+)*$/ + - lint212_jdk11: + filters: + tags: + only: /^v[0-9]+(\.[0-9]+)*$/ - test212_jdk8: requires: - lint212_jdk8 + filters: + tags: + only: /^v[0-9]+(\.[0-9]+)*$/ - test212_jdk11: requires: - lint212_jdk11 + filters: + tags: + only: /^v[0-9]+(\.[0-9]+)*$/ - release: context: Sonatype requires: @@ -105,6 +99,6 @@ workflows: - test212_jdk11 filters: branches: - ignore: /.*/ + only: master tags: only: /^v[0-9]+(\.[0-9]+)*$/