Run build with input commands

pull/265/head
Frostebite 2021-05-28 23:47:20 +01:00
parent 34ee8bde5f
commit 926e500b89
3 changed files with 5 additions and 8 deletions

6
dist/index.js vendored
View File

@ -1018,14 +1018,12 @@ class Kubernetes {
const phase = (_b = pod.status) === null || _b === void 0 ? void 0 : _b.phase;
if (phase === 'Running') {
core.info('Pod no longer pending');
ready = true;
return pod;
}
if (phase !== 'Pending') {
core.error('Kubernetes job failed');
}
else {
ready = true;
return pod;
}
}
});
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -304,12 +304,11 @@ class Kubernetes {
const phase = pod.status?.phase;
if (phase === 'Running') {
core.info('Pod no longer pending');
ready = true;
return pod;
}
if (phase !== 'Pending') {
core.error('Kubernetes job failed');
} else {
ready = true;
return pod;
}
}
}