From db517ad3ca044807b8b475f514ab98d172ce4be3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Skj=C3=B8lberg?= Date: Wed, 20 Apr 2022 16:02:12 +0200 Subject: [PATCH 1/2] Propagate parameters to with_cache correctly --- src/jobs/run.yml | 5 +++-- src/jobs/test.yml | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/jobs/run.yml b/src/jobs/run.yml index 9f25959..74268db 100755 --- a/src/jobs/run.yml +++ b/src/jobs/run.yml @@ -24,10 +24,11 @@ parameters: steps: - checkout - with_cache: + cache_key: << parameters.cache_key >> + cache_checksum_file: << parameters.cache_checksum_file >> steps: - run: working_directory: << parameters.app_src_directory >> name: Run Task command: ./gradlew << parameters.command >> - cache_key: << parameters.cache_key >> - cache_checksum_file: << parameters.cache_checksum_file >> + diff --git a/src/jobs/test.yml b/src/jobs/test.yml index 4c84191..c8c4d56 100755 --- a/src/jobs/test.yml +++ b/src/jobs/test.yml @@ -32,13 +32,13 @@ parameters: steps: - checkout - with_cache: + cache_key: << parameters.cache_key >> + cache_checksum_file: << parameters.cache_checksum_file >> steps: - run: name: Run Tests working_directory: << parameters.app_src_directory >> command: ./gradlew << parameters.test_command >> - cache_key: << parameters.cache_key >> - cache_checksum_file: << parameters.cache_checksum_file >> - collect_test_results: test_results_path: <> reports_path: <> From 904a277589123aee9cfea9a5b8ecd646182358c0 Mon Sep 17 00:00:00 2001 From: Jaryt Bustard Date: Wed, 20 Apr 2022 17:54:34 -0400 Subject: [PATCH 2/2] ci: trigger ci