🚀 Bump version to 2.0.2 #617
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: Android-develop CI | |
# Every new pull request to develop branch must fire CI check | |
on: | |
push: | |
branches: | |
- develop | |
- 2.0/base | |
pull_request: | |
branches: | |
- develop | |
- 2.0/base | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Create google-services | |
run: | | |
mkdir ./app/src/debug | |
echo '${{ secrets.GOOGLE_SERVICES_JSON_DEBUG }}' > ./app/src/debug/google-services.json | |
- name: Create local.properteis | |
run: echo '${{ secrets.LOCAL_PROPERTIES }}' > ./local.properties | |
# Build Debug App | |
- name: Build with Gradle | |
run: ./gradlew assembleDebug | |
# Run unit test | |
- name: Run unit test | |
run: ./gradlew testdebugUnitTest |