Skip to content

Commit

Permalink
Fix CI job for different jdks
Browse files Browse the repository at this point in the history
  • Loading branch information
StefMa committed Feb 28, 2024
1 parent ea1a799 commit fbc4556
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Expand Up @@ -583,7 +583,7 @@ jobs:
steps:
- checkout
- run:
command: ./gradlew --info --stacktrace check
command: ./gradlew --info --stacktrace check -PPKL_JVM_VERSION=11
name: gradle check
- run:
command: |-
Expand All @@ -601,7 +601,7 @@ jobs:
steps:
- checkout
- run:
command: ./gradlew --info --stacktrace check
command: ./gradlew --info --stacktrace check -PPKL_JVM_VERSION=17
name: gradle check
- run:
command: |-
Expand Down
2 changes: 1 addition & 1 deletion .circleci/jobs/GradleCheckJob.pkl
Expand Up @@ -22,7 +22,7 @@ javaVersion: "11.0"|"17.0"
steps {
new Config.RunStep {
name = "gradle check"
command = "./gradlew \(module.gradleArgs) check"
command = "./gradlew \(module.gradleArgs) check -PPKL_JVM_VERSION=\(javaVersion.dropLast(2))"
}
}

Expand Down

0 comments on commit fbc4556

Please sign in to comment.