Skip to content

Merge pull request #165 from boostcampwm2023/feature-aos/android-cd-a… #1

Merge pull request #165 from boostcampwm2023/feature-aos/android-cd-a…

Merge pull request #165 from boostcampwm2023/feature-aos/android-cd-a… #1

name: Android Build & upload to Firebase App Distribution
on:
push:
branches: [ "develop" ]
defaults:
run:
working-directory: ./android
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: temurin
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: build release
run: ./gradlew assembleRelease
- 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: android/app/realease/app-release.apk