File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
.github/actions/configure-gradle Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Configure Gradle
2+ description : Configures Gradle for use in CI
3+ inputs :
4+ working-directory :
5+ description : The directory in which to run the action
6+ default : .
7+
8+ runs :
9+ using : composite
10+ steps :
11+ - name : Configure custom Gradle distribution URL
12+ shell : bash
13+ run : |
14+ cd ${{ inputs.working-directory }}
15+ gradleVersion=$(grep "distributionUrl" ./gradle/wrapper/gradle-wrapper.properties | sed -n 's|.*gradle-\([0-9.]*\)-bin.zip|\1|p')
16+ echo Configuring custom Gradle distribution URL with version: $gradleVersion
17+ echo gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-$gradleVersion-bin.zip
18+ gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-$gradleVersion-bin.zip
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.5 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
44networkTimeout =10000
55zipStoreBase =GRADLE_USER_HOME
66zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments