Fix : 밀크 -> 화이트 와인, 초콜릿 -> 레드 와인 변경 #91
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: 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 |