From 299aeae38efee1296f7ff7f4d379c87518fa8c99 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Thu, 14 Apr 2022 00:10:34 -0500 Subject: [PATCH] Update codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b509c54..85bcf3d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,6 +39,13 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v2 + with: + distribution: temurin + java-version: 17 + cache: gradle # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL @@ -62,9 +69,9 @@ jobs: # and modify them (or add more) to build your code if your project # uses a compiled language - #- run: | - # make bootstrap - # make release + - run: | + chmod +x gradlew + ./gradlew build --no-daemon - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2