Skip to content

Commit

Permalink
build: add setup-java to use java 17.
Browse files Browse the repository at this point in the history
  • Loading branch information
didiergarcia committed Sep 16, 2024
1 parent 9c04c26 commit 8c7c5be
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -36,4 +41,4 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Run Tests
run: ./gradlew check
run: ./gradlew check

0 comments on commit 8c7c5be

Please sign in to comment.