-
Notifications
You must be signed in to change notification settings - Fork 15
executable file
·42 lines (32 loc) · 1.18 KB
/
build.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
39
40
41
# This workflow to help you automate your building process
name: Integrate Firebase Distributions + Github Actions
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
pull_request_target:
branches: [ master ]
jobs:
builds:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java JDK
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build Gradle
run: ./gradlew build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
name: app
path: app/build/outputs/apk/debug/app-debug.apk
- name: Upload Artifact To Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1.3.2
with:
appId: ${{ secrets.FIREBASE_ID }}
token: ${{ secrets.FIREBASE_TOKEN }}
groups: Android-CICD-Testers
releaseNotes: "Hey! This my first integrate Firebase distributions with Github Actions"
file: app/build/outputs/apk/debug/app-debug.apk