Skip to content

Commit

Permalink
Update GitHub Actions CI to use Firebase App Distro
Browse files Browse the repository at this point in the history
  • Loading branch information
vgaidarji committed Mar 15, 2024
1 parent 69cf527 commit 42bc3b8
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,13 @@ jobs:
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Build
env:
FABRIC_API_KEY: ${{ secrets.FABRIC_API_KEY }}
FABRIC_API_SECRET: ${{ secrets.FABRIC_API_SECRET }}
run: "./gradlew assembleDebug"
- name: Check
env:
FABRIC_API_KEY: ${{ secrets.FABRIC_API_KEY }}
FABRIC_API_SECRET: ${{ secrets.FABRIC_API_SECRET }}
run: "./gradlew testDebug jacocoTestReport lintDebug buildDashboard"
- name: Distribute
env:
FABRIC_API_KEY: ${{ secrets.FABRIC_API_KEY }}
FABRIC_API_SECRET: ${{ secrets.FABRIC_API_SECRET }}
run: "./gradlew crashlyticsUploadDistributionDebug"
FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_JSON: ${{ secrets.FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_JSON_B64 }}
run: "./gradlew appDistributionUploadDebug"
- name: Publish Code Coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
Expand All @@ -37,9 +30,6 @@ jobs:
- uses: actions/checkout@v4
- name: Instrumentation Tests
uses: reactivecircus/android-emulator-runner@v2
env:
FABRIC_API_KEY: ${{ secrets.FABRIC_API_KEY }}
FABRIC_API_SECRET: ${{ secrets.FABRIC_API_SECRET }}
with:
api-level: 34
arch: x86
Expand Down

0 comments on commit 42bc3b8

Please sign in to comment.