SIGN IN SIGN UP

[ci] Add polling to download-build-artifacts

Several CI workflows depend on the runtime_build_and_test.yml workflow
to complete before it can successfully download the build artifact.
However it is possible to encounter a race condition where the build
hasn't completed when the new workflow is started.

This PR adds a simple polling mechanism that waits up to 10 minutes for
the build for that revision to complete.

ghstack-source-id: 6a954638a800fbea8081e6fba35ee4b4437731c5
Pull Request resolved: https://github.com/facebook/react/pull/30515
L
Lauren Tan committed
3043e1ae21c3847fb4a762dd2128596d55a7c4cb
Parent: d98f1a4