-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (29 loc) · 1 KB
/
beepCD.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Android CD
on:
pull_request:
branches: [ main ]
jobs:
build:
name: Beep CD
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- 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 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: Developer
file: app/build/outputs/apk/release/app-release-unsigned.apk