We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fd159f commit f34fadaCopy full SHA for f34fada
.github/workflows/eclipse-ci.yaml
@@ -36,6 +36,30 @@ jobs:
36
37
steps:
38
- uses: actions/checkout@v3
39
+ - name: Install Toolchain JDK
40
+ uses: battila7/jdk-via-jabba@v1
41
+ with:
42
+ jdk: zulu@11
43
+ javaHomeEnvironmentVariable: TOOLCHAIN_JDK
44
+ - name: Set up Toolchain
45
+ shell: bash
46
+ run: |
47
+ mkdir -p $HOME/.m2 \
48
+ && cat << EOF > $HOME/.m2/toolchains.xml
49
+ <?xml version="1.0" encoding="UTF8"?>
50
+ <toolchains>
51
+ <toolchain>
52
+ <type>jdk</type>
53
+ <provides>
54
+ <version>11</version>
55
+ <vendor>zulu</vendor>
56
+ </provides>
57
+ <configuration>
58
+ <jdkHome>${{ env.TOOLCHAIN_JDK }}</jdkHome>
59
+ </configuration>
60
+ </toolchain>
61
+ </toolchains>
62
+ EOF
63
- name: Set up JDK
64
uses: actions/setup-java@v3
65
with:
0 commit comments