diff --git a/.github/workflows/contributor-build.yml b/.github/workflows/contributor-build.yml index 85fb683090..94e2e6d0a0 100644 --- a/.github/workflows/contributor-build.yml +++ b/.github/workflows/contributor-build.yml @@ -82,6 +82,7 @@ jobs: - name: Run build script env: RDBMS: ${{ matrix.rdbms }} + POPULATE_REMOTE_GRADLE_CACHE: true GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DEVELOCITY_ACCESS_TOKEN }}" run: ./ci/build-github.sh shell: bash diff --git a/gradle/gradle-enterprise.gradle b/gradle/gradle-enterprise.gradle index 700b0618af..963812f60d 100644 --- a/gradle/gradle-enterprise.gradle +++ b/gradle/gradle-enterprise.gradle @@ -11,7 +11,7 @@ ext { isCiEnvironment = isJenkins() || isGitHubActions() || isGenericCi() - populateRemoteBuildCache = getSetting( "POPULATE_REMOTE" ).isPresent() + populateRemoteBuildCache = getSetting( "POPULATE_REMOTE_GRADLE_CACHE" ).isPresent() } private static boolean isJenkins() { diff --git a/gradle/system-information.gradle b/gradle/system-information.gradle index e56e22ef98..83840ef1aa 100644 --- a/gradle/system-information.gradle +++ b/gradle/system-information.gradle @@ -1,6 +1,6 @@ ext { isCiEnvironment = isJenkins() || isGitHubActions() || isGenericCi() - populateRemoteBuildCache = getSetting( "POPULATE_REMOTE" ).isPresent() + populateRemoteBuildCache = getSetting( "POPULATE_REMOTE_GRADLE_CACHE" ).isPresent() } private static boolean isJenkins() {