Merge pull request #6091 from KomachiSion/develop-fix-ci

Fix github CI
This commit is contained in:
lzp0412 2021-06-17 11:55:51 +08:00 committed by GitHub
commit 1cb8c0fdd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [linux-latest]
os: [ubuntu-latest]
java: [8, 8.0.192, 11, 11.0.9]
steps:
- name: Cache Maven Repos
@ -24,7 +24,6 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
run: echo 'MAVEN_OPTS="$MAVEN_OPTS -Xmx1024m -XX:MaxPermSize=512m -XX:+BytecodeVerificationLocal"' >> ~/.mavenrc
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2