From a6d112c96e72cb1cd1fe5a94d10583c93f0ca8bd Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong (cubxxw)" <3293172751nss@gmail.com> Date: Sat, 16 Dec 2023 20:12:12 +0800 Subject: [PATCH] fix: add mac os Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com> --- .github/workflows/openimci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/openimci.yml b/.github/workflows/openimci.yml index 16f295615..90dc07056 100644 --- a/.github/workflows/openimci.yml +++ b/.github/workflows/openimci.yml @@ -154,6 +154,14 @@ jobs: version: '3.x' # If available, use the latest major version that's compatible repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Install latest Bash (macOS only) + if: runner.os == 'macOS' + run: | + brew install bash + sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells' + chsh -s /usr/local/bin/bash + echo "Bash version: $(bash --version)" + - name: Docker Operations run: | sudo make init