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));
107478
107478
const cloudRun_1 = __webpack_require__(115);
107479
107479
const service_1 = __webpack_require__(304);
107480
107480
const lodash_1 = __webpack_require__(998);
107481
+ function sleep(ms) {
107482
+ return new Promise((resolve) => setTimeout(resolve, ms));
107483
+ }
107481
107484
/**
107482
107485
* Executes the main action. It includes the main business logic and is the
107483
107486
* primary entry point. It is documented inline.
@@ -107501,6 +107504,7 @@ function run() {
107501
107504
let serviceResponse = yield client.deploy(service);
107502
107505
while (!lodash_1.get(serviceResponse, 'status.url')) {
107503
107506
serviceResponse = yield client.getService(service.name);
107507
+ yield sleep(2000);
107504
107508
}
107505
107509
// Set URL as output
107506
107510
core.setOutput('url', lodash_1.get(serviceResponse, 'status.url'));
You can’t perform that action at this time.
0 commit comments