From 3072efc90fdfe17560a9c5ffe39cd6d294ec95c4 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Sun, 16 Aug 2020 01:55:41 +0900 Subject: [PATCH] =?UTF-8?q?Use=20property=20to=20control=20build=20cache?= =?UTF-8?q?=20push=20instead=20of=20CI=20env=20variable=20s=E2=80=A6=20(#9?= =?UTF-8?q?98)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Use property to control build cache push instead of CI env variable since many builds have that set. * Check env instead. --- settings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.gradle b/settings.gradle index 708d887ce1..620c8c98b2 100644 --- a/settings.gradle +++ b/settings.gradle @@ -23,7 +23,7 @@ buildCache { remote(com.github.burrunan.s3cache.AwsS3BuildCache) { region = 'us-west-2' bucket = 'opentelemetry-java-instrumentation-gradle-test1' - push = isCI + push = System.getenv('S3_BUILD_CACHE_ACCESS_KEY_ID') != null } }