diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b90bb6c2..2653c1ac 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,9 +26,10 @@ jobs: strategy: fail-fast: false matrix: - java_version: ['8', '11', '17', '21'] + java_version: ['8', '11', '17', '21', '22'] # kotlin-reflect 1.8.2x has a bug and some tests fail, so we are downgrading to 1.8.10. - kotlin_version: ['1.7.22', '1.8.10', '1.9.22', '2.0.0-Beta4'] + # kotlin-reflect 2.0.0-Beta5 is not used because of KT-67209 + kotlin_version: ['1.7.22', '1.8.10', '1.9.23', '2.0.0-Beta4'] os: ['ubuntu-20.04'] env: JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1" @@ -57,7 +58,7 @@ jobs: id: projectVersion run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT - name: Deploy snapshot - if: github.event_name != 'pull_request' && matrix.java_version == '8' && matrix.kotlin_version == '1.5.32' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') + if: github.event_name != 'pull_request' && matrix.java_version == '8' && matrix.kotlin_version == '1.7.22' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') env: CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}