diff --git a/.github/workflows/release-version-file.yaml b/.github/workflows/release-version-file.yaml index cd41a0c8e91..6635a053f12 100644 --- a/.github/workflows/release-version-file.yaml +++ b/.github/workflows/release-version-file.yaml @@ -1,4 +1,4 @@ -name: "Release" +name: "Release: version file" on: diff --git a/Taskfile.yaml b/Taskfile.yaml index 8624ae82fe2..b4dba1685f8 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -293,7 +293,12 @@ tasks: # echo -e "generated all fixture fingerprints" - .github/scripts/fingerprint_docker_fixtures.py - - .github/scripts/find_cache_paths.py {{ .CACHE_PATHS_FILE }} > /dev/null + - | + # if DOWNLOAD_TEST_FIXTURE_CACHE is set to 'false', then we don't need to calculate the fingerprint for the cache + if [ "$DOWNLOAD_TEST_FIXTURE_CACHE" = "false" ]; then + exit 0 + fi + .github/scripts/find_cache_paths.py {{ .CACHE_PATHS_FILE }} > /dev/null refresh-fixtures: @@ -308,7 +313,7 @@ tasks: PURPLE='\033[0;35m' RESET='\033[0m' - # if DOWNLOAD_TEST_FIXTURE_CACHE is set to 'true', then skip the cache download and always build + # if DOWNLOAD_TEST_FIXTURE_CACHE is set to 'false', then skip the cache download and always build if [ "$DOWNLOAD_TEST_FIXTURE_CACHE" = "false" ]; then echo -e "${BOLD}${PURPLE}skipping cache download, rebuilding cache...${RESET}" {{ .TASK }} build-fixtures