Configured Fastlane & CI Workflow for publishing app to Play Store & … #10
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: Mobile-Wallet CI[Feature] | |
on: | |
push: | |
branches: | |
- '*' | |
- '!dev' | |
- '!master' | |
jobs: | |
build: | |
name: Build APK | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Set up JDK | |
- name: Set Up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
# 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 |