Skip to content

Commit

Permalink
Merge pull request #204 from mash-up-kr/chore/firebase_cd
Browse files Browse the repository at this point in the history
[Chore] firebase CD WIP
  • Loading branch information
evergreentree97 authored Aug 11, 2024
2 parents 8383607 + 24cca9e commit 8501d3c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflow/firebase_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# ref: https://dev.to/supersuman/build-and-sign-android-apps-using-github-actions-54j
name: Android QA Build CD

on: [ workflow_dispatch ]

jobs:
qa-build-cd:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup JDK 17
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17

- name: Build APK
run: ./gradlew assembleDebug

- name: Upload Build to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{ secrets.PPAC_FIREBASE_APP_ID }}
serviceCredentialsFileContent: ${{ secrets.PPAC_FIREBASE_CREDENTIAL }}
groups: android-tester
file: app/build/outputs/apk/debug/app-debug.apk
# app/build/outputs/apk/standard/stage/release/app-standard-stage-release.apk

0 comments on commit 8501d3c

Please sign in to comment.