Skip to content

Chore : core:common 모듈에 대한 의존성을 data 모듈에서 api 로 선언해 의존성 전파 #90

Chore : core:common 모듈에 대한 의존성을 data 모듈에서 api 로 선언해 의존성 전파

Chore : core:common 모듈에 대한 의존성을 data 모듈에서 api 로 선언해 의존성 전파 #90

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