Update dependency io.github.fornewid:naver-map-compose to v1.7.2 #592
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 CI | |
env: | |
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false" | |
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true | |
on: | |
pull_request: | |
concurrency: | |
group: build-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ci-build: | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: 17 | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v2 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Generate secrets.properties | |
run: | | |
echo "NAVER_MAP_CLIENT_ID=${{ secrets.NAVER_MAP_CLIENT_ID }}" >> secrets.properties | |
- name: Generate local.properties | |
run: | | |
echo "RELEASE_SERVER_BASE_URL=\"${{ secrets.RELEASE_SERVER_BASE_URL }}\"" >> local.properties | |
echo "DEBUG_SERVER_BASE_URL=\"${{ secrets.DEBUG_SERVER_BASE_URL }}\"" >> local.properties | |
- name: Generate keystore.properties | |
run: | | |
echo "STORE_FILE=${{ secrets.STORE_FILE }}" >> keystore.properties | |
echo "STORE_PASSWORD=${{ secrets.STORE_PASSWORD }}" >> keystore.properties | |
echo "KEY_ALIAS=${{ secrets.KEY_ALIAS }}" >> keystore.properties | |
echo "KEY_PASSWORD=${{ secrets.KEY_PASSWORD }}" >> keystore.properties | |
- name: Generate google-services.json | |
run: echo "${{ secrets.GOOGLE_SERVICES }}" | base64 --decode > app/google-services.json | |
- name: Code style checks | |
run: ./gradlew ktlintCheck detekt | |
- name: Run build | |
run: ./gradlew buildDebug --stacktrace |