Hi, using this github action providing a FIREBASE_TOKEN I'm unable to upload android apk file to Firebase App Distribution, with following error:
Error: failed to fetch app information. HTTP Error: 401, Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Using the same FIREBASE_TOKEN locally, I'm able to upload the apk, I only face this problem using this workflow action. Does anybody have any idea what could be wrong? Thanks
This is my workflow file:
name: Distribute Debug
on:
push:
tags:
- 'dev-*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build Debug
run: sudo ./gradlew assembleDebug
- name: Upload to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1.2.1
with:
appId: some_app_id_that_is_correct
token: ${{secrets.FIREBASE_TOKEN}}
debug: true
file: app/build/outputs/apk/debug/app-debug.apk
Hi, using this github action providing a
FIREBASE_TOKENI'm unable to upload android apk file to Firebase App Distribution, with following error:Using the same
FIREBASE_TOKENlocally, I'm able to upload the apk, I only face this problem using this workflow action. Does anybody have any idea what could be wrong? ThanksThis is my workflow file: