Skip to content

Commit 844f390

Browse files
committed
Update func in video recording
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent d1d2678 commit 844f390

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/actions/get-latest-upstream/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
RELEASE=$(curl -s -H "$AUTH_HEADER" https://api.github.com/repos/SeleniumHQ/selenium/releases | jq -r '[.[] | select(.prerelease == false)] | .[0].tag_name')
2626
else
2727
echo "Getting the latest Nightly release."
28-
RELEASE=$(curl -s -H "$AUTH_HEADER" https://api.github.com/repos/SeleniumHQ/selenium/releases | jq -r '[.[] | select(.prerelease == true)] | .[0].tag_name')
28+
RELEASE=$(curl -s -H "$AUTH_HEADER" https://api.github.com/repos/SeleniumHQ/selenium/releases | jq -r '[.[] | select(.prerelease == true)] | .[0].tag_name' || echo "")
2929
if [ -z "${RELEASE}" ]; then
3030
echo "Nightly release not found, getting the latest stable release."
3131
RELEASE=$(curl -s -H "$AUTH_HEADER" https://api.github.com/repos/SeleniumHQ/selenium/releases | jq -r '[.[] | select(.prerelease == false)] | .[0].tag_name')

Video/video.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,5 +273,6 @@ else
273273
fi
274274
prev_session_id=$session_id
275275
done
276+
stop_if_recording_inprogress
276277
echo "$(date -u +"${ts_format}") [${process_name}] - Node API is not responding now, exiting..."
277278
fi

0 commit comments

Comments
 (0)