Skip to content

[chore] 버전 코드 16, 버전 네임 1.2.0으로 업데이트 #528

[chore] 버전 코드 16, 버전 네임 1.2.0으로 업데이트

[chore] 버전 코드 16, 버전 네임 1.2.0으로 업데이트 #528

Workflow file for this run

name: Android CI
env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false"
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
ci-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: gradle
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/buildSrc/**/*.kt') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Generate local.properties
run: |
echo '${{ secrets.LOCAL_PROPERTIES }}' >> ./local.properties
- name: Generate google-services.json (debug)
run: |
echo '${{ secrets.GOOGLE_SERVICES_DEBUG }}' > ./app/src/debug/google-services.json
- name: Generate network_security_config.xml
run: |
echo '${{ secrets.NETWORK_SECURITY_CONFIG }}' > ./app/src/main/res/xml/network_security_config.xml
- name: Code style checks
run: |
./gradlew detekt --continue
- name: Run build
run: ./gradlew buildDebug --stacktrace