From 9eb49e11986e95a7966033c85ebaeae9dc67d20e Mon Sep 17 00:00:00 2001 From: aimansharief Date: Tue, 22 Oct 2024 19:04:50 +0530 Subject: [PATCH] Setting java version 21 while running tests --- .github/workflows/maven.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d45acf938..2701ea5b1 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -96,6 +96,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + cache: 'maven' - name: Install Docker Compose run: | curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose