ci: use jdk 21

This commit is contained in:
daoge 2024-09-17 19:18:08 +08:00 committed by GitHub
parent 1acdad5c6b
commit f73eadda76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,10 +18,10 @@ jobs:
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file