At the logs, I can see that the location where the new json file was created is at /home/runner/work/_temp/.
Then, I try to upload an apk that I have previously build with the following:
- name: 'Upload to Firebase App Distribution the mobile variant'
uses: wzieba/Firebase-Distribution-Github-Action@v1.5.0
with:
appId: ${{ inputs.fadIdForMobile }}
serviceCredentialsFile: /home/runner/work/_temp/credential_file_for_mobile_projects.json
groups: 'developers'
releaseNotes: 'These are some test release notes'
file: ${{ inputs.apkPath }}
debug: true
At the logs I can see that all parameters are fine:
Run wzieba/Firebase-Distribution-Github-Action@v1.5.0
with:
appId: 1:XYX:android:XYZ
serviceCredentialsFile: /home/runner/work/_temp/credential_file_for_mobile_projects.json
groups: developers
releaseNotes: These are some test release notes
file: apps/***-app/build/outputs/apk/debug/***-app-debug.apk
debug: true
env:
SHORT_SHA: 10c48e9
JAVA_HOME: /opt/hostedtoolcache/Java_Zulu_jdk/11.0.19-7/x64
JAVA_HOME_11_X64: /opt/hostedtoolcache/Java_Zulu_jdk/11.0.19-7/x64
Where is the problem with my code?
Even though I am setting all the parameters properly, I get an error that the authentication failed.
At which directory does the json get created? What is the full path of it? Should I actually use the full path?
Like many, I am facing a problem with the action. I have followed the example at https://github.com/wzieba/Firebase-Distribution-Github-Action/blob/master/.github/workflows/main.yml and the instructions.
Here is my setup:
First I fetch the credentials that I have stored as a base64 string file at the secrets of the GitHub project.
At the output of the GitHub action, I can see the following:
At the logs, I can see that the location where the new json file was created is at
/home/runner/work/_temp/
.Then, I try to upload an apk that I have previously build with the following:
At the logs I can see that all parameters are fine:
Nevertheless, an error occurs:
Where is the problem with my code? Even though I am setting all the parameters properly, I get an error that the authentication failed. At which directory does the json get created? What is the full path of it? Should I actually use the full path?
Any help will be greatly appreciated.