File tree 3 files changed +6
-11
lines changed
3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,11 @@ runs:
35
35
id : build
36
36
if : ${{ inputs.publish == 'false' }}
37
37
shell : bash
38
- env :
39
- DEVELOCITY_ACCESS_KEY : ${{ inputs.develocity-access-key }}
40
38
run : ./gradlew build
41
39
- name : Publish
42
40
id : publish
43
41
if : ${{ inputs.publish == 'true' }}
44
42
shell : bash
45
- env :
46
- DEVELOCITY_ACCESS_KEY : ${{ inputs.develocity-access-key }}
47
43
run : ./gradlew -PdeploymentRepository=$(pwd)/deployment-repository ${{ !startsWith(github.event.head_commit.message, 'Next development version') && 'build' || '' }} publishAllPublicationsToDeploymentRepository
48
44
- name : Read Version From gradle.properties
49
45
id : read-version
Original file line number Diff line number Diff line change 9
9
required : false
10
10
default : false
11
11
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'
12
15
runs :
13
16
using : composite
14
17
steps :
28
31
uses : gradle/actions/setup-gradle@31ae3562f68c96d481c31bc1a8a55cc1be162f83 # v3.4.1
29
32
with :
30
33
cache-read-only : false
34
+ develocity-access-key : ${{ inputs.develocity-access-key }}
31
35
- name : Configure Gradle Properties
32
36
shell : bash
33
37
run : |
Original file line number Diff line number Diff line change @@ -23,18 +23,13 @@ jobs:
23
23
- name : Prepare Gradle Build
24
24
uses : ./.github/actions/prepare-gradle-build
25
25
with :
26
+ develocity-access-key : ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
26
27
java-version : ${{ matrix.java.version }}
27
28
java-toolchain : ${{ matrix.java.toolchain }}
28
29
- name : Run System Tests
29
30
id : run-system-tests
30
31
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
38
33
- name : Send Notification
39
34
uses : ./.github/actions/send-notification
40
35
if : always()
You can’t perform that action at this time.
0 commit comments