Skip to content

Commit 9e07450

Browse files
committed
#1: add missing char in ci script
1 parent a55595f commit 9e07450

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -150,17 +150,11 @@ jobs:
150150
fi
151151
CMD='
152152
cd '${WORKSPACE}'; \
153-
echo "Get lcov..." \
153+
echo "Get lcov..."; \
154154
. ~/.setuprc; \
155-
if [ "$OS_NAME" = "Ubuntu" ]; \
156-
then \
157-
apt-get update -y -q; \
158-
elif [ "$OS_NAME" = "Alpine Linux" ]; \
159-
then \
160-
apk update; \
161-
elif [ "$OS_NAME" = "macOS" ]; \
162-
then \
163-
brew update; \
155+
if [ "$OS_NAME" = "Ubuntu" ]; then apt-get update -y -q; \
156+
elif [ "$OS_NAME" = "Alpine Linux" ]; then apk update; \
157+
elif [ "$OS_NAME" = "macOS" ]; then brew update; \
164158
fi; \
165159
wget https://raw.githubusercontent.com/${{ env.CI_REPO }}/refs/heads/${{ env.CI_BRANCH }}/ci/shared/scripts/deps/packages.sh && chmod +x packages.sh
166160
./packages.sh lcov

0 commit comments

Comments
 (0)