Skip to content

chore: 배포 테스트 #14

chore: 배포 테스트

chore: 배포 테스트 #14

name: Build & upload to Firebase App Distribution
on:
pull_request:
branches: [ android-main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Access GH_CLIENT_ID
env:
GH_CLIENT_ID: $
run: echo "GH_CLIENT_ID=\"$GH_CLIENT_ID\"" > android/2023-emmsale/local.properties
- name: Access GOOGLE_SERVICE
env:
GOOGLE_SERVICE: ${{ secrets.GOOGLE_SERVICE }}
run: echo '${{ secrets.GOOGLE_SERVICE }}' > android/2023-emmsale/app/google-services.json
- name: build release
run: ./android/2023-emmsale/gradlew -p android/2023-emmsale assembleDebug
- name: upload artifact to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{secrets.FIREBASE_APP_ID}}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: testers
file: app/build/outputs/apk/debug/app-debug.apk