diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2eaf8cb..1af0979 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,10 +9,10 @@ jobs: uses: actions/checkout@v2 - name: Validate gradle wrapper uses: gradle/wrapper-validation-action@v1 - - name: Setup JDK 17 + - name: Setup JDK 21 uses: actions/setup-java@v1 with: - java-version: 17 + java-version: 21 - name: Ensure gradlew is executable run: chmod +x ./gradlew - name: Build with gradle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 043b52a..308d353 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 17 + java-version: 21 - name: Grant execute permission for gradlew run: chmod +x gradlew