Skip to content

Commit 5504ebb

Browse files
committed
updates
1 parent 8ed5cb6 commit 5504ebb

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

dist/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9816,11 +9816,6 @@ const sleep = ms => new Promise(resolve => setTimeout(resolve, ms))
98169816
while (waiting_for.find(run => run.status !== 'completed')) {
98179817
timer += delay
98189818

9819-
// time out!
9820-
if (timer >= timeout) {
9821-
core.setFailed('workflow-queue timed out')
9822-
process.exit(1)
9823-
}
98249819

98259820
for (const run of waiting_for) {
98269821
core.info(`waiting for run #${run.id}: current status: ${run.status}`)

src/lib/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ export default async function ({ token, delay, timeout }) {
4242
while (waiting_for.find(run => run.status !== 'completed')) {
4343
timer += delay
4444

45-
// time out!
46-
if (timer >= timeout) {
47-
core.setFailed('workflow-queue timed out')
48-
process.exit(1)
49-
}
5045

5146
for (const run of waiting_for) {
5247
core.info(`waiting for run #${run.id}: current status: ${run.status}`)

0 commit comments

Comments
 (0)