Skip to content

Commit d960a8b

Browse files
committed
Set JAVA_HOME in pre-build
1 parent 46a8384 commit d960a8b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ jobs:
1010
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
1111
with:
1212
exclude_swift_versions: "[{\"swift_version\": \"5.8\"}]"
13-
pre_build_command: "apt-get update -y -q && apt-get install -y -q openjdk-21-jdk"
14-
env:
15-
JAVA_HOME: "/usr/lib/jvm/java-21-openjdk-amd64"
13+
pre_build_command: "apt-get update -y -q && apt-get install -y -q openjdk-21-jdk && export JAVA_HOME=\"/usr/lib/jvm/java-21-openjdk-amd64\""

0 commit comments

Comments
 (0)