Skip to content

Commit 88645be

Browse files
committed
Merge branch '3.2.x' into 3.3.x
Closes gh-42582
2 parents 638cdde + 820b42c commit 88645be

File tree

6 files changed

+16
-20
lines changed

6 files changed

+16
-20
lines changed

.github/actions/build/action.yml

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ inputs:
1616
develocity-access-key:
1717
description: 'Access key for authentication with ge.spring.io'
1818
required: false
19+
gradle-cache-read-only:
20+
description: 'Whether Gradle''s cache should be read only'
21+
required: false
22+
default: 'true'
1923
java-distribution:
2024
description: 'Java distribution to use'
2125
required: false
@@ -49,6 +53,7 @@ runs:
4953
- name: Prepare Gradle Build
5054
uses: ./.github/actions/prepare-gradle-build
5155
with:
56+
cache-read-only: ${{ inputs.gradle-cache-read-only }}
5257
develocity-access-key: ${{ inputs.develocity-access-key }}
5358
java-distribution: ${{ inputs.java-distribution }}
5459
java-early-access: ${{ inputs.java-early-access }}

.github/actions/prepare-gradle-build/action.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Prepare Gradle Build
22
description: 'Prepares a Gradle build. Sets up Java and Gradle and configures Gradle properties'
33
inputs:
4+
cache-read-only:
5+
description: 'Whether Gradle''s cache should be read only'
6+
required: false
7+
default: 'true'
48
develocity-access-key:
59
description: 'Access key for authentication with ge.spring.io'
610
required: false
@@ -38,7 +42,7 @@ runs:
3842
- name: Set Up Gradle
3943
uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0
4044
with:
41-
cache-read-only: false
45+
cache-read-only: ${{ inputs.cache-read-only }}
4246
develocity-access-key: ${{ inputs.develocity-access-key }}
4347
- name: Configure Gradle Properties
4448
shell: bash

.github/workflows/build-and-deploy-snapshot.yml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
commercial-repository-username: ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_USERNAME }}
2323
commercial-snapshot-repository-url: ${{ vars.COMMERCIAL_SNAPSHOT_REPO_URL }}
2424
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
25+
gradle-cache-read-only: false
2526
publish: true
2627
- name: Deploy
2728
uses: spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1

.github/workflows/build-pull-request.yml

+3-19
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,11 @@ jobs:
88
if: ${{ github.repository == 'spring-projects/spring-boot' }}
99
runs-on: ${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }}
1010
steps:
11-
- name: Free Disk Space
12-
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
13-
with:
14-
docker-images: false
15-
large-packages: false
16-
- name: Set Up JDK 17
17-
uses: actions/setup-java@v4
18-
with:
19-
distribution: 'liberica'
20-
java-version: '17'
21-
- name: Check Out
11+
- name: Check Out Code
2212
uses: actions/checkout@v4
23-
- name: Validate Gradle Wrapper
24-
uses: gradle/actions/wrapper-validation@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0
25-
- name: Set Up Gradle
26-
uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0
2713
- name: Build
28-
env:
29-
CI: 'true'
30-
GRADLE_ENTERPRISE_URL: 'https://ge.spring.io'
31-
run: ./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --no-parallel --continue build
14+
id: build
15+
uses: ./.github/actions/build
3216
- name: Print JVM Thread Dumps When Cancelled
3317
if: cancelled()
3418
uses: ./.github/actions/print-jvm-thread-dumps

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
commercial-repository-username: ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_USERNAME }}
5151
commercial-snapshot-repository-url: ${{ vars.COMMERCIAL_SNAPSHOT_REPO_URL }}
5252
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
53+
gradle-cache-read-only: false
5354
java-early-access: ${{ matrix.java.early-access || 'false' }}
5455
java-distribution: ${{ matrix.java.distribution }}
5556
java-toolchain: ${{ matrix.java.toolchain }}

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
commercial-repository-username: ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_USERNAME }}
2323
commercial-snapshot-repository-url: ${{ vars.COMMERCIAL_SNAPSHOT_REPO_URL }}
2424
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
25+
gradle-cache-read-only: false
2526
publish: true
2627
- name: Stage Release
2728
uses: spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1

0 commit comments

Comments
 (0)