diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish-main.yml similarity index 95% rename from .github/workflows/gradle-publish.yml rename to .github/workflows/gradle-publish-main.yml index 93e2fe5c..f3ac061b 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish-main.yml @@ -12,11 +12,11 @@ jobs: - uses: actions/checkout@v4 with: ref: release - - name: Set up JDK 17 + - name: Set up JDK 21 temurin uses: actions/setup-java@v3 with: - distribution: 'microsoft' - java-version: 17 + distribution: 'temurin' + java-version: 21 cache: 'gradle' - name: Grant execute permission for gradlew run: chmod +x gradlew