File tree Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,11 @@ runs:
3535 id : build
3636 if : ${{ inputs.publish == 'false' }}
3737 shell : bash
38- env :
39- DEVELOCITY_ACCESS_KEY : ${{ inputs.develocity-access-key }}
4038 run : ./gradlew build
4139 - name : Publish
4240 id : publish
4341 if : ${{ inputs.publish == 'true' }}
4442 shell : bash
45- env :
46- DEVELOCITY_ACCESS_KEY : ${{ inputs.develocity-access-key }}
4743 run : ./gradlew -PdeploymentRepository=$(pwd)/deployment-repository ${{ !startsWith(github.event.head_commit.message, 'Next development version') && 'build' || '' }} publishAllPublicationsToDeploymentRepository
4844 - name : Read Version From gradle.properties
4945 id : read-version
Original file line number Diff line number Diff line change 99 required : false
1010 default : false
1111 description : ' Whether a Java toolchain should be used'
12+ develocity-access-key :
13+ required : false
14+ description : ' The access key for authentication with ge.spring.io'
1215runs :
1316 using : composite
1417 steps :
2831 uses : gradle/actions/setup-gradle@31ae3562f68c96d481c31bc1a8a55cc1be162f83 # v3.4.1
2932 with :
3033 cache-read-only : false
34+ develocity-access-key : ${{ inputs.develocity-access-key }}
3135 - name : Configure Gradle Properties
3236 shell : bash
3337 run : |
Original file line number Diff line number Diff line change @@ -23,18 +23,13 @@ jobs:
2323 - name : Prepare Gradle Build
2424 uses : ./.github/actions/prepare-gradle-build
2525 with :
26+ develocity-access-key : ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
2627 java-version : ${{ matrix.java.version }}
2728 java-toolchain : ${{ matrix.java.toolchain }}
2829 - name : Run System Tests
2930 id : run-system-tests
3031 shell : bash
31- env :
32- GRADLE_ENTERPRISE_URL : ' https://ge.spring.io'
33- GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
34- GRADLE_ENTERPRISE_CACHE_USERNAME : ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
35- GRADLE_ENTERPRISE_CACHE_PASSWORD : ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
36- run : |
37- ./gradlew systemTest
32+ run : ./gradlew systemTest
3833 - name : Send Notification
3934 uses : ./.github/actions/send-notification
4035 if : always()
You can’t perform that action at this time.
0 commit comments