Skip to content

Commit

Permalink
always store return code
Browse files Browse the repository at this point in the history
  • Loading branch information
grqz authored Sep 21, 2024
1 parent 2c2731c commit 63cb6e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
shell: bash
run: |
exit_code=0
script_response=$(./yt-dlp ${{ env.TEST_ARGS }} --extractor-args "youtube:getpot_bgutil_script=server/build/generate_once.js" dQw4w9WgXcQ 2>&1) || \
ret=$?
script_response=$(./yt-dlp ${{ env.TEST_ARGS }} --extractor-args "youtube:getpot_bgutil_script=server/build/generate_once.js" dQw4w9WgXcQ 2>&1)
ret=$?
echo "::group::Logs from yt-dlp"
printf "%s\n" "$script_response"
Expand Down Expand Up @@ -120,8 +120,8 @@ jobs:
echo "$PING_RESP" | jq -C
echo "::endgroup::"
script_response=$(./yt-dlp ${{ env.TEST_ARGS }} --extractor-args "youtube:getpot_bgutil_baseurl=http://127.0.0.1:${{ env.PORT }}" dQw4w9WgXcQ 2>&1) || \
ret=$?
script_response=$(./yt-dlp ${{ env.TEST_ARGS }} --extractor-args "youtube:getpot_bgutil_baseurl=http://127.0.0.1:${{ env.PORT }}" dQw4w9WgXcQ 2>&1)
ret=$?
docker stop bgutil-provider
Expand Down

0 comments on commit 63cb6e3

Please sign in to comment.