Skip to content

Fix : RemoteConfig 업데이트 전략 값이 설정되어있지 않을 때 화면이 넘어가지 않는 버그 수정 #110

Fix : RemoteConfig 업데이트 전략 값이 설정되어있지 않을 때 화면이 넘어가지 않는 버그 수정

Fix : RemoteConfig 업데이트 전략 값이 설정되어있지 않을 때 화면이 넘어가지 않는 버그 수정 #110

name: Build & upload to Firebase App Distribution
on:
push:
branches: [ dev ]
workflow_dispatch: # 수동 실행 옵션 (생략가능)
jobs:
build:
runs-on: ubuntu-latest
env:
LOCAL_PROPERTIES_CONTENTS: ${{ secrets.LOCAL_PROPERTIES_CONTENTS }}
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
steps:
- uses: actions/checkout@v1
- name: set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Grant Permission for gradlew
run: chmod +x ./gradlew
shell: bash
- name: Decode And Save Keystore Base64
run: |
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > app/keystore.jks
- name: Create google-services.json
run: echo "$GOOGLE_SERVICES_JSON" > app/google-services.json
- name: Create local.properties
run: |
echo "$LOCAL_PROPERTIES_CONTENTS" > local.properties
echo "SIGNED_STORE_FILE=keystore.jks" >> local.properties
- name: Build debug
run: ./gradlew assembleDebug
- name: Upload to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{secrets.FIREBASE_APP_ID}}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: winey-team
file: app/build/outputs/apk/debug/app-debug.apk