File tree Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,17 @@ inputs:
5
5
required : false
6
6
default : ' 17'
7
7
description : ' The Java version to compile and test with'
8
+ java-distribution :
9
+ required : false
10
+ default : ' liberica'
11
+ description : ' The Java distribution to use for the build'
8
12
java-toolchain :
9
13
required : false
10
- default : false
14
+ default : ' false'
11
15
description : ' Whether a Java toolchain should be used'
12
16
publish :
13
17
required : false
14
- default : false
18
+ default : ' false'
15
19
description : ' Whether to publish artifacts ready for deployment to Artifactory'
16
20
develocity-access-key :
17
21
required : false
31
35
with :
32
36
develocity-access-key : ${{ inputs.develocity-access-key }}
33
37
java-version : ${{ inputs.java-version }}
38
+ java-distribution : ${{ inputs.java-distribution }}
34
39
java-toolchain : ${{ inputs.java-toolchain }}
35
40
- name : Build
36
41
id : build
Original file line number Diff line number Diff line change 25
25
uri : ' https://repo.spring.io'
26
26
username : ${{ secrets.ARTIFACTORY_USERNAME }}
27
27
password : ${{ secrets.ARTIFACTORY_PASSWORD }}
28
- build-name : ${{ format( 'spring-boot-{0}', github.ref_name)}}
28
+ build-name : ' spring-boot-3.2.x '
29
29
repository : ' libs-snapshot-local'
30
30
folder : ' deployment-repository'
31
31
signing-key : ${{ secrets.GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 2
2
on :
3
3
push :
4
4
branches :
5
- - 3.2.x
5
+ - ' 3.2.x'
6
6
concurrency :
7
7
group : ${{ github.workflow }}-${{ github.ref }}
8
8
jobs :
43
43
uses : ./.github/actions/build
44
44
with :
45
45
java-version : ${{ matrix.java.version }}
46
+ java-distribution : ${{ matrix.java.distribution || 'liberica' }}
46
47
java-toolchain : ${{ matrix.java.toolchain }}
47
48
develocity-access-key : ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
48
49
- name : Send Notification
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ concurrency:
7
7
group : ${{ github.workflow }}-${{ github.ref }}
8
8
jobs :
9
9
build-and-stage-release :
10
- if : ${{ github.repository == 'spring-projects/spring-boot' }}
11
10
name : Build and Stage Release
12
11
runs-on : ubuntu-latest
12
+ if : ${{ github.repository == 'spring-projects/spring-boot' }}
13
13
steps :
14
14
- name : Check Out Code
15
15
uses : actions/checkout@v4
@@ -22,14 +22,14 @@ jobs:
22
22
- name : Stage Release
23
23
uses : spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1
24
24
with :
25
- build-name : ${{ format(' spring-boot-{0}', steps.build-and-publish.outputs.version)}}
26
- folder : ' deployment-repository '
25
+ uri : ' https://repo. spring.io '
26
+ username : ${{ secrets.ARTIFACTORY_USERNAME }}
27
27
password : ${{ secrets.ARTIFACTORY_PASSWORD }}
28
+ build-name : ${{ format('spring-boot-{0}', steps.build-and-publish.outputs.version)}}
28
29
repository : ' libs-staging-local'
30
+ folder : ' deployment-repository'
29
31
signing-key : ${{ secrets.GPG_PRIVATE_KEY }}
30
32
signing-passphrase : ${{ secrets.GPG_PASSPHRASE }}
31
- uri : ' https://repo.spring.io'
32
- username : ${{ secrets.ARTIFACTORY_USERNAME }}
33
33
artifact-properties : |
34
34
/**/spring-boot-docs-*.zip::zip.type=docs,zip.deployed=false
35
35
outputs :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Run System Tests
2
2
on :
3
3
push :
4
4
branches :
5
- - 3.2.x
5
+ - ' 3.2.x'
6
6
concurrency :
7
7
group : ${{ github.workflow }}-${{ github.ref }}
8
8
jobs :
You can’t perform that action at this time.
0 commit comments