diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9d5b74d0a..cae39b798 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -29,6 +29,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Set Java version + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '11' + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2