From 2b88fc1b35c5e002e7286b9fe29b4fbf94a41aba Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 15:47:43 -0500 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 69a368a9..46e024cf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,23 +36,24 @@ jobs: github_release: executor: java17 steps: - - checkout - - restore_cache: - keys: - - v1-dependencies-{{ checksum "pom.xml" }} - - run: | - mvn -s .circleci/mvn-settings.xml deploy -DskipTests + - maven/test: + executor: java17 workflows: main: jobs: - maven/test: + name: run_tests executor: java17 - - github_release: + - maven/test: + name: deploy_to_github + executor: java17 + command: 'deploy -DskipTests' + settings_file: .circleci/mvn-settings.xml context: - Production requires: - - maven/test + - run_tests filters: branches: only: circleci-project-setup ## todo - change to main