Merge pull request #2221 from PratyushSingh07/loan-application-fix #42
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Workflow for feature branches | |
on: | |
push: | |
branches: | |
- '*' | |
- '!development' | |
- '!master' | |
jobs: | |
build: | |
name: Build APK | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out repository | |
uses: actions/checkout@v3 | |
# Set up JDK | |
- name: Set Up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
# Install NDK | |
- name: Install NDK | |
run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT} | |
# Update Gradle Permission | |
- name: Change gradlew Permission | |
run: chmod +x gradlew | |
# Build App | |
- name: Build with Gradle | |
run: ./gradlew assemble |