Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requires Login? Nothing in Script shows how to do this. #46

Closed
grndvl1 opened this issue Apr 28, 2022 · 3 comments
Closed

Requires Login? Nothing in Script shows how to do this. #46

grndvl1 opened this issue Apr 28, 2022 · 3 comments

Comments

@grndvl1
Copy link

grndvl1 commented Apr 28, 2022

Error: Command 'appcenter distribute release' requires a logged in user. Use the 'appcenter login' command to log in.

Nothing in command shows how to do this, thought I just needed the Token which is in my github secrets for repo.

@wzieba
Copy link
Owner

wzieba commented May 5, 2022

There's no need for anything more than having a token. Maybe the token is invalid or there's a typo in Github environmental variable?

@grndvl1
Copy link
Author

grndvl1 commented May 5, 2022

Okay now I can but now it says it can't find the file apk to upload. Can you steer as to how to find that location on the VM after it checks the repo out? I've tried a few things and looked at the logs to find the directory structure but I am at a loss. Maybe you can explain it in the readme for newbies like me?

@wzieba
Copy link
Owner

wzieba commented May 9, 2022

By default, it should be in the application module directory and then build/outputs/apk/<build variant names>/<name of the project with build variant names>.apk.

One can see that the path highly depends on the project-specific details and configuration so it's difficult to provide meaningful instructions.

But I agree it would be nice if the action could look for any .apk (or other) files and print paths to make it easier for configuration. There's an issue for that in a twin action, maybe I should revisit it: wzieba/Firebase-Distribution-Github-Action#44

Thanks for the feedback! I'll close this issue but if you need any assistance, feel free to reopen it.

@wzieba wzieba closed this as completed May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants