From 758c286f125ddf3a3e7e38215feb45f2109641f5 Mon Sep 17 00:00:00 2001 From: lihui Date: Fri, 5 Apr 2024 23:03:25 +0800 Subject: [PATCH] [lihui] feat: update java version for GitHub actions --- .github/workflows/codeql-analysis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 24650e8..9881042 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -50,6 +50,13 @@ jobs: # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main + - name: Setup Java + uses: actions/setup-java@v3.11.0 + with: + distribution: zulu + java-version: 17 + cache: gradle + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild