현재 달리는 팔로잉 유저 확인 #4
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: Walkie Firebase Distribution | |
on: | |
pull_request: | |
branches: [ "main", "develop", "compose/develop" ] | |
types: [ labeled ] | |
jobs: | |
build: | |
if: ${{ github.event.label.name == 'Distribution' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'zulu' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Create google-service | |
run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./presentation/google-services.json | |
- name: Create Local Properties | |
run: echo '${{ secrets.LOCAL_PROPERTIES }}' > ./local.properties | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Build Debug APK | |
run: bash ./gradlew assembleDebug --stacktrace | |
- 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: walkieDeveloper | |
file: app/build/outputs/apk/debug/app-debug.apk |