Wrap uploads in SafeUpload function that validates the absence of a previous upload.

Bug: https://github.com/flutter/flutter/issues/55082, https://github.com/flutter/flutter/issues/62146
Change-Id: Ic67dcd6a92be4cdc579c4545cebdb68f2b44a512
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/4940
Commit-Queue: Christopher Fujino <fujino@google.com>
Reviewed-by: Nurhan Turgut <nurhan@google.com>
Reviewed-by: Godofredo Contreras <godofredoc@google.com>
49 files changed
tree: d230de2a07cfe3b2de0e68fa252afed65ca00e26
  1. infra/
  2. recipe_modules/
  3. recipes/
  4. .gitignore
  5. .style.yapf
  6. OWNERS
  7. recipes.py