Skip to content

Commit

Permalink
codeql: Install Java 8 toolchain as well
Browse files Browse the repository at this point in the history
Required for retrolambda
  • Loading branch information
kohlschuetter committed Sep 28, 2023
1 parent 52f739d commit 8ccde64
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: |
1.8
17
cache: 'maven'

# Initializes the CodeQL tools for scanning.
Expand All @@ -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
Expand Down

0 comments on commit 8ccde64

Please sign in to comment.