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

Ship first android beta from GHA #2281

Merged
merged 4 commits into from
Sep 18, 2023
Merged

Ship first android beta from GHA #2281

merged 4 commits into from
Sep 18, 2023

Conversation

jorgeazevedo
Copy link
Contributor

Why are you doing this?

This PR disables the skip_upload_apk option in fastlane to start uploading beta builds to the play console.

We had to introduce a workaround to make it work though. We started getting this error in the logs

[10:06:57]: Google Api Error: Unauthorized - Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.

And it turns out this is actually a problem with the google API, as reported here:
fastlane/fastlane#21507
Fastlane just shipped update 2.215.1 with a workaround that consists in adding retry functionality to the supply command, which we can control via the environment variable SUPPLY_UPLOAD_MAX_RETRIES. In this PR we set it to the recommended 5.

co-authored by @JuliaBrigitte and @michaelclapham

@jorgeazevedo jorgeazevedo changed the title Ship first android from GHA Ship first android beta from GHA Sep 18, 2023
Copy link
Contributor

@groakland groakland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jorgeazevedo jorgeazevedo merged commit 4d7d4c1 into master Sep 18, 2023
2 checks passed
@jorgeazevedo jorgeazevedo deleted the first-gha-beta branch September 18, 2023 13:46
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

Successfully merging this pull request may close these issues.

None yet

2 participants