File tree Expand file tree Collapse file tree 4 files changed +25
-0
lines changed
actions/custom-gradle-distribution-url Expand file tree Collapse file tree 4 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Configure gradle distribution URL
2+ description : >
3+ Configures the gradle distribution URL to our custom URL
4+
5+ runs :
6+ using : composite
7+ steps :
8+ - name : Configure gradle distribution URL
9+ run : |
10+ cd aws-crt-kotlin
11+
12+ # Keep gradle version in sync with aws-sdk-kotlin/gradle/wrapper/gradle-wrapper.properties
13+ gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
14+ shell : bash
Original file line number Diff line number Diff line change 2323 with :
2424 role-to-assume : ${{ secrets.CI_AWS_ROLE_ARN }}
2525 aws-region : us-west-2
26+ - name : Configure Gradle
27+ uses : ./aws-crt-kotlin/.github/actions/custom-gradle-distribution-url
2628 - name : Generate Artifact Size Metrics
2729 run : ./gradlew artifactSizeMetrics
2830 - name : Save Artifact Size Metrics
4042 with :
4143 role-to-assume : ${{ secrets.CI_AWS_ROLE_ARN }}
4244 aws-region : us-west-2
45+ - name : Configure Gradle
46+ uses : ./aws-crt-kotlin/.github/actions/custom-gradle-distribution-url
4347 - name : Generate Artifact Size Metrics
4448 run : ./gradlew artifactSizeMetrics
4549 - name : Analyze Artifact Size Metrics
Original file line number Diff line number Diff line change 4343 java-version : 17
4444 cache : ' gradle'
4545
46+ - name : Configure Gradle
47+ uses : ./aws-crt-kotlin/.github/actions/custom-gradle-distribution-url
48+
4649 - name : Build
4750 working-directory : ./aws-crt-kotlin
4851 shell : bash
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3+ <<<<<<< Updated upstream
34distributionUrl =https://d2pjps8lqszrgq.cloudfront.net/gradle-8.5-bin.zip
5+ =======
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12-bin.zip
7+ >>>>>>> Stashed changes
48networkTimeout =10000
59zipStoreBase =GRADLE_USER_HOME
610zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments