0

.github/workflow.yml:

name: Android CI

on: [push]

jobs:
  ## Debug
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: set up JDK 11
        uses: actions/setup-java@v1
        with:
          java-version: 11
      # 3
      - name: Generate Debug APK
        run: ./gradlew assembleDebug --stacktrace

      # 4
      - name: Upload APK to artifacts
        uses: actions/upload-artifact@master
        with:
          name: app-debug.apk
          path: app/build/outputs/apk/debug/app-debug.apk

  # deploy_To_Firebase
  deploy-firebase:
    # 1
    needs: [ build ]
    runs-on: ubuntu-latest
    steps:
      # 2
      - uses: actions/download-artifact@master
        with:
          name: app-debug.apk
      #3
      - name: upload artifact to Firebase App Distribution
        uses: wzieba/Firebase-Distribution-Github-Action@v1.3.5
        with:
          appId: '1:105154535164:android:95ef53a4561a7584074179'
          token: '1//0ga5LzhDOaI5TCgYIARAAGBASNwF-L9Iru5OARcezljDg1-ZtVL-FivpwqtNKryldiiDzYlncV7hYJicbWdV_Rn6pCoRgfsMimYg'
          groups: testers
          file: app/build/outputs/apk/debug/app-debug.apk

Error : enter image description here

please help me to solve the isser and warnings as below Authenticating with FIREBASE_TOKEN is deprecated and will be removed in a future major version of firebase-tools. Instead, use a service account key with GOOGLE_APPLICATION_CREDENTIALS

R KiranKumar
  • 825
  • 1
  • 8
  • 27

0 Answers0