File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 3333 distribution : ' temurin'
3434 java-version : 25
3535
36+ - name : Install Toolchain JDK
37+ uses : battila7/jdk-via-jabba@v1
38+ with :
39+ 40+ javaHomeEnvironmentVariable : TOOLCHAIN_JDK
41+
42+ - name : Set up Toolchain
43+ shell : bash
44+ run : |
45+ mkdir --parents $HOME/.m2 \
46+ && cat << EOF > $HOME/.m2/toolchains.xml
47+ <?xml version="1.0" encoding="UTF-8"?>
48+ <toolchains>
49+ <toolchain>
50+ <type>jdk</type>
51+ <provides>
52+ <version>17</version>
53+ <vendor>zulu</vendor>
54+ </provides>
55+ <configuration>
56+ <jdkHome>${{ env.TOOLCHAIN_JDK }}</jdkHome>
57+ </configuration>
58+ </toolchain>
59+ </toolchains>
60+ EOF
61+
3662 - name : Initialize CodeQL
3763 uses : github/codeql-action/init@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4
3864 with :
You can’t perform that action at this time.
0 commit comments