From 1f71f70aa2a252796cf7e121563779e639a70c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kohlschu=CC=88tter?= Date: Thu, 28 Sep 2023 16:27:39 +0200 Subject: [PATCH] codeql: Install Java 8 toolchain as well Required for retrolambda --- .github/workflows/codeql-analysis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 2b3438fc3..cdd37cf0f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -44,7 +44,9 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '17' + java-version: | + 8 + 17 cache: 'maven' # Initializes the CodeQL tools for scanning. @@ -60,6 +62,9 @@ jobs: # queries: security-extended,security-and-quality - run: | + echo "toolchain config:" + cat $HOME/.m2/toolchains.xml + cat ~/.m2/toolchains.xml echo "Build junixsocket with Maven (no tests)" mvn clean install -Dcodeql -Dstrict -Duse-snapshots