From 1708039c607b5e4e221034337d36500d8c4abff0 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 7 Mar 2021 17:51:25 +0000 Subject: [PATCH] Tell CodeQL We're building Java 11 --- .github/workflows/codeql-analysis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a80c844..91eb6c6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,6 +36,12 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + + - name: Setup Java JDK + uses: actions/setup-java@v1.4.3 + with: + # The Java version to make available on the path. Takes a whole or semver Java version, or 1.x syntax (e.g. 1.8 => Java 8.x). Early access versions can be specified in the form of e.g. 14-ea, 14.0.0-ea, or 14.0.0-ea.28 + java-version: 11 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL