Skip to content

[Feature] PromtionDialog를 구현합니다. #297

[Feature] PromtionDialog를 구현합니다.

[Feature] PromtionDialog를 구현합니다. #297

Workflow file for this run

name: Android CI with Build Lint Test
on:
push:
branches:
- "main"
- "develop"
- "Release/*"
pull_request:
branches:
- "main"
- "develop"
- "Release/*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache Gradle
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Load Google Service file
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA | base64 -di > app/google-services.json
- name: Create local.properties
env:
LOCAL_PROPERTIES_CONTENTS: ${{ secrets.LOCAL_PROPERTIES_CONTENTS }}
run: echo "${LOCAL_PROPERTIES_CONTENTS}" > local.properties
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Execute test
run: ./gradlew test
- name: Execute ktlintCheck
run: ./gradlew ktlintCheck