Skip to content

Commit

Permalink
Use java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
shobhitagarwal1612 committed Aug 19, 2024
1 parent caee8ca commit f73a4a6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: set up JDK 11

- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
cache: gradle
cache: 'gradle'

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew -PdisablePreDex testDevDebugUnitTest --no-daemon
- name: Run unit tests
run: ./gradlew testDevDebugUnitTest

0 comments on commit f73a4a6

Please sign in to comment.