fix: Set the jdk version of codeQL

This commit is contained in:
guoaomen
2022-12-09 11:04:10 +08:00
parent df20afcd33
commit da4d5de175

View File

@@ -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