File tree 6 files changed +16
-20
lines changed
6 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ inputs:
16
16
develocity-access-key :
17
17
description : ' Access key for authentication with ge.spring.io'
18
18
required : false
19
+ gradle-cache-read-only :
20
+ description : ' Whether Gradle'' s cache should be read only'
21
+ required : false
22
+ default : ' true'
19
23
java-distribution :
20
24
description : ' Java distribution to use'
21
25
required : false
49
53
- name : Prepare Gradle Build
50
54
uses : ./.github/actions/prepare-gradle-build
51
55
with :
56
+ cache-read-only : ${{ inputs.gradle-cache-read-only }}
52
57
develocity-access-key : ${{ inputs.develocity-access-key }}
53
58
java-distribution : ${{ inputs.java-distribution }}
54
59
java-early-access : ${{ inputs.java-early-access }}
Original file line number Diff line number Diff line change 1
1
name : Prepare Gradle Build
2
2
description : ' Prepares a Gradle build. Sets up Java and Gradle and configures Gradle properties'
3
3
inputs :
4
+ cache-read-only :
5
+ description : ' Whether Gradle'' s cache should be read only'
6
+ required : false
7
+ default : ' true'
4
8
develocity-access-key :
5
9
description : ' Access key for authentication with ge.spring.io'
6
10
required : false
38
42
- name : Set Up Gradle
39
43
uses : gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0
40
44
with :
41
- cache-read-only : false
45
+ cache-read-only : ${{ inputs.cache-read-only }}
42
46
develocity-access-key : ${{ inputs.develocity-access-key }}
43
47
- name : Configure Gradle Properties
44
48
shell : bash
Original file line number Diff line number Diff line change 22
22
commercial-repository-username : ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_USERNAME }}
23
23
commercial-snapshot-repository-url : ${{ vars.COMMERCIAL_SNAPSHOT_REPO_URL }}
24
24
develocity-access-key : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
25
+ gradle-cache-read-only : false
25
26
publish : true
26
27
- name : Deploy
27
28
uses : spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1
Original file line number Diff line number Diff line change 8
8
if : ${{ github.repository == 'spring-projects/spring-boot' }}
9
9
runs-on : ${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }}
10
10
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
22
12
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
27
13
- 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
32
16
- name : Print JVM Thread Dumps When Cancelled
33
17
if : cancelled()
34
18
uses : ./.github/actions/print-jvm-thread-dumps
Original file line number Diff line number Diff line change 50
50
commercial-repository-username : ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_USERNAME }}
51
51
commercial-snapshot-repository-url : ${{ vars.COMMERCIAL_SNAPSHOT_REPO_URL }}
52
52
develocity-access-key : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
53
+ gradle-cache-read-only : false
53
54
java-early-access : ${{ matrix.java.early-access || 'false' }}
54
55
java-distribution : ${{ matrix.java.distribution }}
55
56
java-toolchain : ${{ matrix.java.toolchain }}
Original file line number Diff line number Diff line change 22
22
commercial-repository-username : ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_USERNAME }}
23
23
commercial-snapshot-repository-url : ${{ vars.COMMERCIAL_SNAPSHOT_REPO_URL }}
24
24
develocity-access-key : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
25
+ gradle-cache-read-only : false
25
26
publish : true
26
27
- name : Stage Release
27
28
uses : spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1
You can’t perform that action at this time.
0 commit comments