[IDLE-490] 채팅방 내역이 없을 경우 보여줄 화면 추가 및 읽지 않은 메세지 개수 100개 이상 일 경우 99+로 표시되도록 변경 #22
Workflow file for this run
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 | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "develop" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Gradle cache | |
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: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Set up local.properties | |
run: | | |
echo "CARE_DEV_BASE_URL=${{ secrets.CARE_DEV_BASE_URL }}" >> local.properties | |
echo "CARE_PROD_BASE_URL=${{ secrets.CARE_PROD_BASE_URL }}" >> local.properties | |
echo "NAVER_BASE_URL=${{ secrets.NAVER_BASE_URL }}" >> local.properties | |
echo "NAVER_CLIENT_ID=${{ secrets.NAVER_CLIENT_ID }}" >> local.properties | |
echo "NAVER_CLIENT_SECRET=${{ secrets.NAVER_CLIENT_SECRET }}" >> local.properties | |
echo "AMPLITUDE_API_KEY=${{ secrets.AMPLITUDE_API_KEY }}" >> local.properties | |
- name: Set up keystore.properties | |
run: | | |
echo "STORE_FILE_PATH=./app/upload-keystore.jks" >> 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: Decode keystore file | |
run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > ./app/upload-keystore.jks | |
- name: Create google-services.json | |
run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./app/google-services.json | |
- name: Build with Gradle | |
run: ./gradlew assembleDebug --build-cache --stacktrace | |
- name: KtlintCheck | |
run: ./gradlew ktlintcheck | |
- name: Test | |
run: ./gradlew test --stacktrace |