diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 914c619..cf71a74 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: ['17'] 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 17 uses: actions/setup-java@v4 with: distribution: 'adopt' - java-version: 11 + java-version: 17 - name: Generate secring file env: SECRING_FILE: ${{ secrets.SECRING_FILE }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3929a1..a135b44 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: ['17'] env: GIT_USER_NAME: rainboyan GIT_USER_EMAIL: rain@rainboyan.com