From e1ebeed3d5c70561886128811bbc3b1c508bc994 Mon Sep 17 00:00:00 2001 From: qianmoQ Date: Fri, 30 Sep 2022 00:01:23 +0800 Subject: [PATCH] ci: Set java version 8 --- .github/workflows/bofore_checker.yml | 6 +++--- .github/workflows/publish-selfhost.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bofore_checker.yml b/.github/workflows/bofore_checker.yml index c504630e..34637fc5 100644 --- a/.github/workflows/bofore_checker.yml +++ b/.github/workflows/bofore_checker.yml @@ -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 diff --git a/.github/workflows/publish-selfhost.yml b/.github/workflows/publish-selfhost.yml index 221da5fe..7ead0902 100644 --- a/.github/workflows/publish-selfhost.yml +++ b/.github/workflows/publish-selfhost.yml @@ -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