From: Dan Fandrich Date: Fri, 24 Mar 2023 04:21:31 +0000 (-0700) Subject: CI: fix brew retries on GHA X-Git-Tag: curl-8_1_0~307 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6366a6f80f26744bd01604ec5feebbbbed6c7d94;p=thirdparty%2Fcurl.git CI: fix brew retries on GHA The fix in the previous commit was complete for Cirrus but accidentally left off a part for GHA. Follow-up to c2b7249d --- diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 6733c89324..a98376de01 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -112,7 +112,7 @@ jobs: # Run this command with retries because of spurious failures seen # while running the tests, for example # https://github.com/curl/curl/runs/4095721123?check_suite_focus=true - - run: "while [[ $? == 0 ]]; do for i in 1 2 3; do brew update && brew bundle install --no-lock --file /tmp/Brewfile && break 2 || { echo Error: wait to try again; sleep 10; false; } done; false Too many retries; done" + - run: "while [[ $? == 0 ]]; do for i in 1 2 3; do brew update && brew bundle install --no-lock --file /tmp/Brewfile && break 2 || { echo Error: wait to try again; sleep 10; } done; false Too many retries; done" name: 'brew install' - run: python3 -m pip install impacket @@ -171,7 +171,7 @@ jobs: - run: echo libtool autoconf automake pkg-config ${{ matrix.build.install }} | xargs -Ix -n1 echo brew '"x"' > /tmp/Brewfile name: 'brew bundle' - - run: "while [[ $? == 0 ]]; do for i in 1 2 3; do brew update && brew bundle install --no-lock --file /tmp/Brewfile && break 2 || { echo Error: wait to try again; sleep 10; false; } done; false Too many retries; done" + - run: "while [[ $? == 0 ]]; do for i in 1 2 3; do brew update && brew bundle install --no-lock --file /tmp/Brewfile && break 2 || { echo Error: wait to try again; sleep 10; } done; false Too many retries; done" name: 'brew install' - run: python3 -m pip install impacket