File tree 2 files changed +8
-16
lines changed
2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 8
8
if : ${{ !contains(github.event.head_commit.message, '[maven-release-plugin]') }}
9
9
10
10
steps :
11
- - uses : actions/checkout@v3
12
- - name : Set up JDK 17
13
- uses : actions/setup-java@v3
11
+ - uses : actions/checkout@v4
12
+ - name : Set up JDK 21
13
+ uses : actions/setup-java@v4
14
14
with :
15
- java-version : ' 17 '
15
+ java-version : ' 21 '
16
16
distribution : ' temurin'
17
- - name : Set up Node 18
18
- uses : actions/setup-node@v3
19
- with :
20
- node-version : 18
21
17
- name : Build with Maven
22
18
run : mvn --batch-mode --update-snapshots install
Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-latest
9
9
10
10
steps :
11
- - uses : actions/checkout@v3
12
- - name : Set up JDK 17
13
- uses : actions/setup-java@v3
11
+ - uses : actions/checkout@v4
12
+ - name : Set up JDK 21
13
+ uses : actions/setup-java@v4
14
14
with :
15
- java-version : ' 17 '
15
+ java-version : ' 21 '
16
16
distribution : ' temurin'
17
17
server-id : ossrh
18
18
server-username : OSSRH_USERNAME
19
19
server-password : OSSRH_PASSWORD
20
20
gpg-private-key : ${{ secrets.OSSRH_GPG_SECRET_KEY }}
21
21
gpg-passphrase : MAVEN_GPG_PASSPHRASE
22
- - name : Set up Node 18
23
- uses : actions/setup-node@v3
24
- with :
25
- node-version : 18
26
22
- name : Publish to Apache Maven Central
27
23
run : mvn -Prelease deploy
28
24
env :
You can’t perform that action at this time.
0 commit comments