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:
11
.github/workflows/android_build.yml
vendored
11
.github/workflows/android_build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user