diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e2b4e3221..5a5bbb556 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,6 +24,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + # https://github.com/actions/setup-java + - name: Setup Java JDK + uses: actions/setup-java@v3 + with: + distribution: 'adopt' # See 'Supported distributions' for available options + java-version: '8' + cache: 'maven' + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2