diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index ebaf813..b7884ac 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: ['11'] + java: ['8', '11'] env: WORKSPACE: ${{ github.workspace }} steps: @@ -48,11 +48,11 @@ jobs: uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - - name: Set up JDK 11 + - name: Set up JDK 8 uses: actions/setup-java@v4 with: distribution: 'adopt' - java-version: 11 + java-version: 8 - name: Generate secring file env: SECRING_FILE: ${{ secrets.SECRING_FILE }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a68915..21250fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: ['11'] + java: ['8'] env: GIT_USER_NAME: rainboyan GIT_USER_EMAIL: rain@rainboyan.com