Skip to content

Commit 8f0d554

Browse files
committed
Merge remote-tracking branch 'spring-projects/main' into fix/42273_spring-log4j-runtime-hints
2 parents c632405 + 7613024 commit 8f0d554

File tree

5,819 files changed

+83201
-76547
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,819 files changed

+83201
-76547
lines changed

.github/actions/create-github-release/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Create GitHub Release
22
description: 'Create the release on GitHub with a changelog'
33
inputs:
4+
commercial:
5+
description: 'Whether to generate the changelog for the commercial release'
6+
required: true
47
milestone:
58
description: 'Name of the GitHub milestone for which a release will be created'
69
required: true
@@ -11,9 +14,6 @@ inputs:
1114
token:
1215
description: 'Token to use for authentication with GitHub'
1316
required: true
14-
commercial:
15-
description: 'Whether to generate the changelog for the commercial release'
16-
required: true
1717
runs:
1818
using: composite
1919
steps:

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@ runs:
3434
tool-cache: true
3535
docker-images: false
3636
- name: Set Up Java
37-
uses: actions/setup-java@v4
37+
uses: actions/setup-java@v5
3838
with:
3939
distribution: ${{ inputs.java-early-access == 'true' && 'temurin' || (inputs.java-distribution || 'liberica') }}
4040
java-version: |
4141
${{ inputs.java-early-access == 'true' && format('{0}-ea', inputs.java-version) || inputs.java-version }}
4242
${{ inputs.java-toolchain == 'true' && '24' || '' }}
4343
- name: Set Up Gradle With Read/Write Cache
4444
if: ${{ inputs.cache-read-only == 'false' }}
45-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
45+
uses: gradle/actions/setup-gradle@748248ddd2a24f49513d8f472f81c3a07d4d50e1 # v4.4.4
4646
with:
4747
cache-read-only: false
4848
develocity-access-key: ${{ inputs.develocity-access-key }}
4949
- name: Set Up Gradle
50-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
50+
uses: gradle/actions/setup-gradle@748248ddd2a24f49513d8f472f81c3a07d4d50e1 # v4.4.4
5151
with:
5252
develocity-access-key: ${{ inputs.develocity-access-key }}
5353
develocity-token-expiry: 4

.github/actions/publish-gradle-plugin/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ runs:
2121
using: composite
2222
steps:
2323
- name: Set Up JFrog CLI
24-
uses: jfrog/setup-jfrog-cli@ff5cb544114ffc152db9cea1cd3d5978d5074946 # v4.5.11
24+
uses: jfrog/setup-jfrog-cli@88e9eba31c07e31beefa4cef5c0e93d1af9535d7 # v4.6.1
2525
env:
2626
JF_ENV_SPRING: ${{ inputs.jfrog-cli-config-token }}
2727
- name: Download Artifacts
2828
shell: bash
2929
run: jf rt download --spec ${{ format('{0}/artifacts.spec', github.action_path) }} --spec-vars 'buildName=${{ format('spring-boot-{0}', inputs.plugin-version) }};buildNumber=${{ inputs.build-number }}'
3030
- name: Set Up Java
31-
uses: actions/setup-java@v4
31+
uses: actions/setup-java@v5
3232
with:
3333
distribution: 'liberica'
3434
java-version: '17'

.github/actions/sync-to-maven-central/action.yml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
name: Sync to Maven Central
22
description: 'Syncs a release to Maven Central and waits for it to be available for use'
33
inputs:
4-
jfrog-cli-config-token:
5-
description: 'Config token for the JFrog CLI'
6-
required: true
7-
ossrh-s01-staging-profile:
8-
description: 'Staging profile to use when syncing to Central'
4+
central-token-password:
5+
description: 'Password for authentication with central.sonatype.com'
96
required: true
10-
ossrh-s01-token-password:
11-
description: 'Password for authentication with s01.oss.sonatype.org'
7+
central-token-username:
8+
description: 'Username for authentication with central.sonatype.com'
129
required: true
13-
ossrh-s01-token-username:
14-
description: 'Username for authentication with s01.oss.sonatype.org'
10+
jfrog-cli-config-token:
11+
description: 'Config token for the JFrog CLI'
1512
required: true
1613
spring-boot-version:
1714
description: 'Version of Spring Boot that is being synced to Central'
@@ -20,23 +17,17 @@ runs:
2017
using: composite
2118
steps:
2219
- name: Set Up JFrog CLI
23-
uses: jfrog/setup-jfrog-cli@ff5cb544114ffc152db9cea1cd3d5978d5074946 # v4.5.11
20+
uses: jfrog/setup-jfrog-cli@88e9eba31c07e31beefa4cef5c0e93d1af9535d7 # v4.6.1
2421
env:
2522
JF_ENV_SPRING: ${{ inputs.jfrog-cli-config-token }}
2623
- name: Download Release Artifacts
2724
shell: bash
2825
run: jf rt download --spec ${{ format('{0}/artifacts.spec', github.action_path) }} --spec-vars 'buildName=${{ format('spring-boot-{0}', inputs.spring-boot-version) }};buildNumber=${{ github.run_number }}'
2926
- name: Sync
30-
uses: spring-io/nexus-sync-action@42477a2230a2f694f9eaa4643fa9e76b99b7ab84 # v0.0.1
27+
uses: spring-io/central-publish-action@0cdd90d12e6876341e82860d951e1bcddc1e51b6 # v0.2.0
3128
with:
32-
close: true
33-
create: true
34-
generate-checksums: true
35-
password: ${{ inputs.ossrh-s01-token-password }}
36-
release: true
37-
staging-profile-name: ${{ inputs.ossrh-s01-staging-profile }}
38-
upload: true
39-
username: ${{ inputs.ossrh-s01-token-username }}
29+
token: ${{ inputs.central-token-password }}
30+
token-name: ${{ inputs.central-token-username }}
4031
- name: Await
4132
uses: ./.github/actions/await-http-resource
4233
with:

.github/actions/update-homebrew-tap/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
using: composite
1212
steps:
1313
- name: Check Out Homebrew Tap Repo
14-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
14+
uses: actions/checkout@v5
1515
with:
1616
path: updated-homebrew-tap-repo
1717
repository: spring-io/homebrew-tap

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@ updates:
66
interval: "weekly"
77
labels:
88
- "type: task"
9+
- "status: waiting-for-triage"
10+
- package-ecosystem: "npm"
11+
directory: "/antora"
12+
schedule:
13+
interval: "weekly"
14+
labels:
15+
- "type: task"
16+
- "status: waiting-for-triage"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }}
1616
steps:
1717
- name: Check Out Code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
- name: Build and Publish
2020
id: build-and-publish
2121
uses: ./.github/actions/build
@@ -44,7 +44,7 @@ jobs:
4444
uses: ./.github/actions/send-notification
4545
with:
4646
build-scan-url: ${{ steps.build-and-publish.outputs.build-scan-url }}
47-
run-name: ${{ format('{0} | Linux | Java 17', github.ref_name) }}
47+
run-name: ${{ format('{0} | Linux | Java 24', github.ref_name) }}
4848
status: ${{ job.status }}
4949
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
5050
outputs:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }}
1010
steps:
1111
- name: Check Out Code
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@v5
1313
- name: Build
1414
id: build
1515
uses: ./.github/actions/build

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
toolchain: true
2626
- version: 24
2727
toolchain: false
28+
- version: 25
29+
toolchain: true
2830
exclude:
2931
- os:
3032
name: Linux
@@ -40,7 +42,7 @@ jobs:
4042
git config --global core.longPaths true
4143
Stop-Service -name Docker
4244
- name: Check Out Code
43-
uses: actions/checkout@v4
45+
uses: actions/checkout@v5
4446
- name: Build
4547
id: build
4648
uses: ./.github/actions/build

.github/workflows/release-milestone.yml

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
runs-on: ${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }}
1616
steps:
1717
- name: Check Out Code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
- name: Build and Publish
2020
id: build-and-publish
2121
uses: ./.github/actions/build
2222
with:
23-
develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
23+
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
2424
gradle-cache-read-only: false
2525
publish: true
2626
- name: Stage Release
@@ -50,24 +50,58 @@ jobs:
5050
with:
5151
staging: true
5252
version: ${{ needs.build-and-stage-release.outputs.version }}
53+
sync-to-maven-central:
54+
name: Sync to Maven Central
55+
if: ${{ !vars.COMMERCIAL }}
56+
needs:
57+
- build-and-stage-release
58+
- verify
59+
runs-on: ${{ vars.UBUNTU_SMALL || 'ubuntu-latest' }}
60+
steps:
61+
- name: Check Out Code
62+
uses: actions/checkout@v5
63+
- name: Sync to Maven Central
64+
uses: ./.github/actions/sync-to-maven-central
65+
with:
66+
central-token-password: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
67+
central-token-username: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
68+
jfrog-cli-config-token: ${{ secrets.JF_ARTIFACTORY_SPRING }}
69+
spring-boot-version: ${{ needs.build-and-stage-release.outputs.version }}
5370
promote-release:
5471
name: Promote Release
5572
needs:
5673
- build-and-stage-release
57-
- verify
74+
- sync-to-maven-central
5875
runs-on: ${{ vars.UBUNTU_SMALL || 'ubuntu-latest' }}
5976
steps:
6077
- name: Set up JFrog CLI
61-
uses: jfrog/setup-jfrog-cli@ff5cb544114ffc152db9cea1cd3d5978d5074946 # v4.5.11
78+
uses: jfrog/setup-jfrog-cli@88e9eba31c07e31beefa4cef5c0e93d1af9535d7 # v4.6.1
6279
env:
6380
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
6481
- name: Promote build
6582
run: jfrog rt build-promote ${{ format('spring-boot-{0}', needs.build-and-stage-release.outputs.version)}} ${{ github.run_number }} libs-milestone-local
83+
publish-gradle-plugin:
84+
name: Publish Gradle Plugin
85+
if: ${{ !vars.COMMERCIAL }}
86+
needs:
87+
- build-and-stage-release
88+
- sync-to-maven-central
89+
runs-on: ${{ vars.UBUNTU_SMALL || 'ubuntu-latest' }}
90+
steps:
91+
- name: Check Out Code
92+
uses: actions/checkout@v5
93+
- name: Publish
94+
uses: ./.github/actions/publish-gradle-plugin
95+
with:
96+
gradle-plugin-publish-key: ${{ secrets.GRADLE_PLUGIN_PUBLISH_KEY }}
97+
gradle-plugin-publish-secret: ${{ secrets.GRADLE_PLUGIN_PUBLISH_SECRET }}
98+
jfrog-cli-config-token: ${{ secrets.JF_ARTIFACTORY_SPRING }}
99+
plugin-version: ${{ needs.build-and-stage-release.outputs.version }}
66100
trigger-docs-build:
67101
name: Trigger Docs Build
68102
needs:
69103
- build-and-stage-release
70-
- verify
104+
- sync-to-maven-central
71105
permissions:
72106
actions: write
73107
runs-on: ubuntu-latest
@@ -81,14 +115,16 @@ jobs:
81115
needs:
82116
- build-and-stage-release
83117
- promote-release
118+
- publish-gradle-plugin
84119
- trigger-docs-build
85120
runs-on: ${{ vars.UBUNTU_SMALL || 'ubuntu-latest' }}
86121
steps:
87122
- name: Check Out Code
88-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
123+
uses: actions/checkout@v5
89124
- name: Create GitHub Release
90125
uses: ./.github/actions/create-github-release
91126
with:
127+
commercial: ${{ vars.COMMERCIAL }}
92128
milestone: ${{ needs.build-and-stage-release.outputs.version }}
93129
pre-release: true
94130
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

0 commit comments

Comments
 (0)