Skip to content

Commit

Permalink
ci: added retry to update_version step, to work around errors when th…
Browse files Browse the repository at this point in the history
…ere are concurrent runs
  • Loading branch information
ErikBjare committed Oct 13, 2023
1 parent 9fca409 commit 4b9b99b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,14 @@ jobs:
-o fastlane/api-8546008605074111507-287154-450dc77b365f.json
rm fastlane/api-8546008605074111507-287154-450dc77b365f.json.key
# Retry this, in case there are concurrent jobs, which may lead to the error:
# "Google Api Error: Invalid request - This Edit has been deleted."
- name: Update versionCode
run: bundle exec fastlane update_version
uses: Wandalen/wretry.action@master
with:
command: bundle exec fastlane update_version
attempt_limit: 3
attempt_delay: 20000

- name: Output versionCode
id: versionCode
Expand Down

0 comments on commit 4b9b99b

Please sign in to comment.