Skip to content

Commit 9dc4063

Browse files
committed
Merge branch '3.2.x'
Closes spring-projectsgh-41122
2 parents 3063a3e + 270597e commit 9dc4063

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

Diff for: .github/actions/build/action.yml

-4
Original file line numberDiff line numberDiff 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

Diff for: .github/actions/prepare-gradle-build/action.yml

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ inputs:
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'
1215
runs:
1316
using: composite
1417
steps:
@@ -28,6 +31,7 @@ runs:
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: |

Diff for: .github/workflows/run-system-tests.yml

+2-7
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)