Skip to content

Commit

Permalink
Chore: Add support for sending build to firebase app distribution (#647)
Browse files Browse the repository at this point in the history
Fixes ooni/probe#2643

## Proposed Changes

  - Adds Credentials to the repo
- Add a new workflow file for Firebase App Distribution which publishes
debug `apk`.
  • Loading branch information
aanorbel authored Dec 18, 2023
1 parent 9cfdc5b commit e24232a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/firebase-app-distribution.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build & upload to Firebase App Distribution

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: build release
run: ./gradlew clean assembleDevFullDebug
- name: upload artifact to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1.7.0
with:
appId: ${{secrets.FIREBASE_APP_ID}}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: testers
file: app/build/outputs/apk/devFull/debug/app-dev-full-debug.apk

0 comments on commit e24232a

Please sign in to comment.