ci: Set java version 8 (#50)

This commit is contained in:
qianmoQ 2022-09-30 00:06:44 +08:00 committed by GitHub
commit 822af979e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Maven Checker Style
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '8'
distribution: 'temurin'
- run: chmod 755 ./mvnw
- run: ./mvnw clean install checkstyle:checkstyle -Dfindbugs.skip -Dskip.npm -DskipTests=true
@ -36,7 +36,7 @@ jobs:
- name: Maven Checker Bugs
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '8'
distribution: 'temurin'
- run: chmod 755 ./mvnw
- run: ./mvnw clean install findbugs:findbugs -Dcheckstyle.skip -Dskip.npm -DskipTests=true
@ -53,7 +53,7 @@ jobs:
- name: Maven Checker Package
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '8'
distribution: 'temurin'
- run: chmod 755 ./mvnw
- run: ./mvnw clean install package -Dfindbugs.skip -Dcheckstyle.skip -DskipTests=true

View File

@ -11,7 +11,7 @@ jobs:
- name: Setup java
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '8'
distribution: 'temurin'
- name: Chmod
run: chmod 755 ./mvnw