Skip to content

Commit eb46cda

Browse files
authored
Update maven-publish.yml
1 parent 839d702 commit eb46cda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/maven-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: Set up JDK 1.8
13+
- name: Set up JDK 16
1414
uses: actions/setup-java@v1
1515
with:
16-
java-version: 1.8
16+
java-version: 16
1717
- name: Import GPG key
1818
id: import_gpg
1919
uses: crazy-max/ghaction-import-gpg@v4
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Apache Maven Central
2828
uses: actions/setup-java@v1
2929
with: # running setup-java again overwrites the settings.xml
30-
java-version: 1.8
30+
java-version: 16
3131
distribution: 'adopt'
3232
server-id: ossrh
3333
server-username: MAVEN_USERNAME # env variable for username in deploy

0 commit comments

Comments
 (0)