Added spotless #1
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: Deploy Release App to Firebase App Distribution | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Cache gradle | |
uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Build Debug App | |
run: ./gradlew assembleDebug | |
- name: Upload a Build Artifact (APK) | |
uses: actions/[email protected] | |
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 | |
# with: | |
# appId: ${{secrets.FIREBASE_APP_ID}} | |
# serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }} | |
# groups: trusted-testers | |
# file: app/build/outputs/apk/debug/app-debug.apk |