From 7a6dca2f906080d5a3603b1caf3ce99f0da495c9 Mon Sep 17 00:00:00 2001 From: Igor Date: Mon, 20 Mar 2023 13:45:47 +0100 Subject: [PATCH] Add switch --- lib/functions/cli/cli-artifact.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/functions/cli/cli-artifact.sh b/lib/functions/cli/cli-artifact.sh index fb8d45a74..8a226e9be 100644 --- a/lib/functions/cli/cli-artifact.sh +++ b/lib/functions/cli/cli-artifact.sh @@ -43,6 +43,10 @@ function cli_artifact_run() { ignore_local_cache="yes" deploy_to_remote="yes" + if [[ "${FORCE_ARTIFACTS_DOWNLOAD}" == "yes" ]]; then + skip_unpack_if_found_in_caches="no" + fi + # Pass ARTIFACT_USE_CACHE=yes to actually use the cache versions, but don't deploy to remote. # @TODO this is confusing. each op should be individually controlled... # what we want is: