diff --git a/.github/workflows/build-on-pr.yml b/.github/workflows/build-on-pr.yml index 6fce874..db4cacd 100644 --- a/.github/workflows/build-on-pr.yml +++ b/.github/workflows/build-on-pr.yml @@ -13,11 +13,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - name: Run tests uses: gradle/actions/setup-gradle@v3 with: @@ -51,11 +51,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - name: Publish plugin uses: gradle/actions/setup-gradle@v3 with: diff --git a/.github/workflows/build-on-push-to-main.yml b/.github/workflows/build-on-push-to-main.yml index fd43a34..b257dd3 100644 --- a/.github/workflows/build-on-push-to-main.yml +++ b/.github/workflows/build-on-push-to-main.yml @@ -11,11 +11,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - name: Run tests uses: gradle/actions/setup-gradle@v3 with: diff --git a/.github/workflows/publish-on-release.yml b/.github/workflows/publish-on-release.yml index 691a2f3..fe0e7a3 100644 --- a/.github/workflows/publish-on-release.yml +++ b/.github/workflows/publish-on-release.yml @@ -11,11 +11,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - name: Run tests uses: gradle/actions/setup-gradle@v3 with: