Update dependency com.google.truth:truth to v1.4.4 #460
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: HMH Android PR Builder | |
on: | |
pull_request: | |
branches: [ develop, main ] | |
defaults: | |
run: | |
shell: bash | |
working-directory: . | |
jobs: | |
build: | |
name: PR Checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Gradle cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Change gradlew permissions | |
run: chmod +x ./gradlew | |
- name: Add Local Properties | |
env: | |
KAKAO_API_KEY: ${{ secrets.KAKAO_API_KEY }} | |
HMH_BASE_URL: ${{ secrets.HMH_BASE_URL }} | |
run: | | |
echo kakaoApiKey=$KAKAO_API_KEY >> ./local.properties | |
echo hmhBaseUrl=$HMH_BASE_URL >> ./local.properties | |
- name: Access Firebase Service | |
run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./app/google-services.json | |
- name: Build debug APK | |
run: ./gradlew assembleDebug --stacktrace |