Skip to content

Commit

Permalink
Merge pull request #783 from k163377/maintain-ci
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
k163377 committed Apr 5, 2024
2 parents 28992a8 + ad16ac4 commit 69f64ec
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 69f64ec

Please sign in to comment.