Merge branch 'feature/gitactions-build-v2' of https://github.cmd.navi-tech.in/medici/android-customer-app into feature/gitactions-build-v2

* 'feature/gitactions-build-v2' of https://github.cmd.navi-tech.in/medici/android-customer-app:
  Update android_build.yml
  Update android_build.yml
  Update android_build.yml
This commit is contained in:
Jegatheeswaran M
2022-06-02 16:23:00 +05:30

View File

@@ -21,9 +21,18 @@ jobs:
distribution: 'adopt'
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Restore Cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Debug with gradle
run: ./gradlew assembleDebug
run: ./gradlew assembleDevDebug --stacktrace
- name: Unit Test
run: ./gradlew testDebugUnitTest