File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 2323 ${{ runner.os }}-gradle-home-testmatrix-
2424 ${{ runner.os }}-gradle-home-
2525 - id : set-matrix
26- env :
27- # Since we override the tests executor,
28- # we should not push empty results to the cache
29- READ_ONLY_REMOTE_GRADLE_CACHE : true
3026 run : |
3127 TASKS=$(./gradlew --no-daemon --parallel -q testMatrix)
3228 echo $TASKS
Original file line number Diff line number Diff line change @@ -5,17 +5,21 @@ buildscript {
55 }
66 }
77 dependencies {
8- classpath " gradle.plugin.ch.myniva.gradle:s3-build-cache:0.10 .0"
8+ classpath " gradle.plugin.ch.myniva.gradle:s3-build-cache:0.9 .0"
99 classpath " com.gradle.enterprise:com.gradle.enterprise.gradle.plugin:3.2.1"
1010 }
11+
12+ configurations. classpath {
13+ resolutionStrategy {
14+ force ' com.amazonaws:aws-java-sdk-s3:1.11.582'
15+ }
16+ }
1117}
1218
1319apply plugin : ' ch.myniva.s3-build-cache'
1420apply plugin : ' com.gradle.enterprise'
1521
16- ext. isMasterBuild = false ||
17- (System . getenv(" GITHUB_REF" ) == " refs/heads/master" ) ||
18- (System . getenv(" BUILD_SOURCEBRANCHNAME" ) == " master" )
22+ ext. isMasterBuild = (System . getenv(" CIRCLE_BRANCH" ) ?: System . getenv(" BUILD_SOURCEBRANCHNAME" )) == " master"
1923
2024buildCache {
2125 local {
@@ -27,7 +31,7 @@ buildCache {
2731 region = ' fra1'
2832 bucket = ' testcontainers'
2933 path = ' cache'
30- push = ! ( System . getenv( " READ_ONLY_REMOTE_GRADLE_CACHE " ) || ! isMasterBuild)
34+ push = isMasterBuild
3135 headers = [
3236 ' x-amz-acl' : ' public-read'
3337 ]
You can’t perform that action at this time.
0 commit comments