From 8c7c5bee7b9346ad1e97d3bbe631605999da51d9 Mon Sep 17 00:00:00 2001 From: Didier Garcia Date: Mon, 16 Sep 2024 11:53:35 -0400 Subject: [PATCH] build: add setup-java to use java 17. --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0e06e3..17ade8c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,11 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 + with: + distribution: 'temurin' + java-version: '17' + cache: 'gradle' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: cache gradle dependencies @@ -36,4 +41,4 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- - name: Run Tests - run: ./gradlew check \ No newline at end of file + run: ./gradlew check