File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -107478,6 +107478,9 @@ const core = __importStar(__webpack_require__(470));
107478107478const cloudRun_1 = __webpack_require__(115);
107479107479const service_1 = __webpack_require__(304);
107480107480const lodash_1 = __webpack_require__(998);
107481+ function sleep(ms) {
107482+ return new Promise((resolve) => setTimeout(resolve, ms));
107483+ }
107481107484/**
107482107485 * Executes the main action. It includes the main business logic and is the
107483107486 * primary entry point. It is documented inline.
@@ -107501,6 +107504,7 @@ function run() {
107501107504 let serviceResponse = yield client.deploy(service);
107502107505 while (!lodash_1.get(serviceResponse, 'status.url')) {
107503107506 serviceResponse = yield client.getService(service.name);
107507+ yield sleep(2000);
107504107508 }
107505107509 // Set URL as output
107506107510 core.setOutput('url', lodash_1.get(serviceResponse, 'status.url'));
You can’t perform that action at this time.
0 commit comments