Skip to content

Commit c602cd5

Browse files
authored
Merge branch 'spring-projects:main' into main
2 parents 9ab7c3c + 348f3df commit c602cd5

File tree

514 files changed

+21798
-15266
lines changed

Some content is hidden

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

514 files changed

+21798
-15266
lines changed

.github/dco.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require:
2+
members: false

.github/workflows/artifactory-staging.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/maven-central-release.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

.github/workflows/maven-central-stage.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Release to Maven Central
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
name: Release project
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
13+
- name: Check out sources
14+
uses: actions/checkout@v4
15+
16+
- name: Set up JDK 17
17+
uses: actions/setup-java@v3
18+
with:
19+
distribution: 'temurin'
20+
java-version: 17
21+
cache: 'maven'
22+
23+
- name: Install GPG key
24+
run: |
25+
echo "${{ secrets.GPG_PRIVATE_KEY }}" > gpg.asc
26+
echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --yes --passphrase-fd 0 --import gpg.asc
27+
28+
- name: Release to Sonatype OSSRH
29+
env:
30+
SONATYPE_USER: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
31+
SONATYPE_PASSWORD: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
32+
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
33+
run: |
34+
./mvnw -B clean install -DskipTests
35+
./mvnw -B clean deploy -Psonatype -s settings.xml

0 commit comments

Comments
 (0)