👷 增加 java 17

用于测试在 java 17 的环境下是否能运行
比如:防止在代码中使用了一些 sun 包下的类,而 java 17 不存在
This commit is contained in:
徐晓伟 2023-05-08 17:06:45 +08:00
parent 8f026ada0f
commit 9949a72838

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
java-version: [ 8, 11 ] java-version: [ 8, 11, 17 ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java-version }} - name: Set up JDK ${{ matrix.java-version }}