[Feature] Notification Screen QA (#101) #282
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: Android CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Android SDK | |
uses: android-actions/setup-android@v2 | |
- name: Grant Build Permission | |
run: chmod +x ./gradlew | |
- name: Create Google Services JSON File | |
env: | |
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }} | |
run: echo $GOOGLE_SERVICES_JSON | base64 -di > app/google-services.json | |
- name: Build Debug | |
run: ./gradlew assembleDebug | |
env: | |
SENTRY_DSN_TOKEN: ${{ secrets.SENTRY_DSN_TOKEN }} | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
KAKAO_APP_KEY: ${{ secrets.KAKAO_APP_KEY }} | |
KAKAO_OAUTH_KEY: ${{ secrets.KAKAO_OAUTH_KEY }} | |
- name: Build Release | |
run: ./gradlew assembleRelease | |
env: | |
SENTRY_DSN_TOKEN: ${{ secrets.SENTRY_DSN_TOKEN }} | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
KAKAO_APP_KEY: ${{ secrets.KAKAO_APP_KEY }} | |
KAKAO_OAUTH_KEY: ${{ secrets.KAKAO_OAUTH_KEY }} |