Skip to content

Commit cb2427a

Browse files
authored
Update mavenpublish.yml
1 parent 1c1d8f0 commit cb2427a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/mavenpublish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
17-
- name: Set up Java 11
18-
uses: actions/setup-java@v1
16+
- uses: actions/checkout@v4
17+
- name: Set up Java 21
18+
uses: actions/setup-java@v3
1919
with:
20-
java-version: 11
20+
distribution: 'temurin'
21+
java-version: '21'
2122
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2223
settings-path: ${{ github.workspace }} # location for the settings.xml file
2324

0 commit comments

Comments
 (0)