From d5bda98286c09add9bd3e1101a1cbd340ad39cf5 Mon Sep 17 00:00:00 2001 From: Daniel Frick - taafrda7 Date: Mon, 17 Jun 2024 15:37:51 +0200 Subject: [PATCH] codeql add JDK and setup gradle --- .github/workflows/codeql.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index eadeb24..f8ac316 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -57,6 +57,16 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies. + # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md + - name: Setup Gradle + uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL