Skip to content

Commit

Permalink
fix newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
liias committed Nov 10, 2024
1 parent 6feb318 commit 83d7e1f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,18 @@ jobs:
cd "$install_dir"
set -x
command_output=$(./browsers --no-gui https://browsers.software)
command_output="$(./browsers --no-gui https://browsers.software)"
echo "$command_output"
if $command_output | grep -q 'Firefox Web Browser'; then
if "$command_output" | grep -q 'Firefox Web Browser'; then
echo "matched Firefox Web Browser"
fi
if $command_output | grep -q 'Google Chrome'; then
if "$command_output" | grep -q 'Google Chrome'; then
echo "matched Google Chrome"
fi
if $command_output | grep -q 'Microsoft Edge'; then
if "$command_output" | grep -q 'Microsoft Edge'; then
echo "matched Microsoft Edge"
fi
shell: bash
Expand Down Expand Up @@ -218,18 +218,18 @@ jobs:
cd "$target_dir"
set -x
command_output=$(./Browsers.app -W --stdout $(tty) --stderr $(tty) --args --no-gui https://browsers.software)
command_output="$(./Browsers.app -W --stdout $(tty) --stderr $(tty) --args --no-gui https://browsers.software)"
echo "$command_output"
if $command_output | grep -q 'Safari'; then
if "$command_output" | grep -q 'Safari'; then
echo "matched Safari"
fi
if $command_output | grep -q 'Chrome'; then
if "$command_output" | grep -q 'Chrome'; then
echo "matched Chrome"
fi
if $command_output | grep -q 'Google Chrome for Testing'; then
if "$command_output" | grep -q 'Google Chrome for Testing'; then
echo "matched Google Chrome for Testing"
fi
# special shell script to make tty working
Expand Down Expand Up @@ -312,22 +312,22 @@ jobs:
cd "$install_dir"
set -x
command_output=$(./browsers.exe --no-gui https://browsers.software)
command_output="$(./browsers.exe --no-gui https://browsers.software)"
echo "$command_output"
if $command_output | grep -q 'Mozilla Firefox'; then
if "$command_output" | grep -q 'Mozilla Firefox'; then
echo "matched Mozilla Firefox"
fi
if $command_output | grep -q 'Google Chrome'; then
if "$command_output" | grep -q 'Google Chrome'; then
echo "matched Google Chrome"
fi
if $command_output | grep -q 'Internet Explorer'; then
if "$command_output" | grep -q 'Internet Explorer'; then
echo "matched Internet Explorer"
fi
if $command_output | grep -q ' Microsoft Edge Profile 1'; then
if "$command_output" | grep -q ' Microsoft Edge Profile 1'; then
echo "matched Microsoft Edge (Profile 1)"
fi
shell: bash
Expand Down

0 comments on commit 83d7e1f

Please sign in to comment.