From a29e2868d3857545cb431becdbb9c8f5572bd899 Mon Sep 17 00:00:00 2001 From: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com> Date: Sat, 16 Jan 2021 11:30:12 +0100 Subject: [PATCH] TSK-1497: fixed reuse of wrong cache during build --- .github/workflows/continuous-integration.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 0978ffeed..d789bcdc3 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -23,7 +23,9 @@ env: ARTIFACTS_JACOCO_REPORTS_PATH: '**/jacoco.exec' CACHE_WEB_NAME: web - CACHE_MAVEN_FOR_WEB_NAME: maven-for-web + # IMPORTANT: this cannot start with CACHE_MAVEN_NAME's value + # because the 'compile_backend' job would otherwise use this as a fallback cache. + CACHE_MAVEN_FOR_WEB_NAME: mvn-for-web CACHE_MAVEN_NAME: maven CACHE_SONAR_NAME: sonar