mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 19:02:31 +08:00
fix: add mac os
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
parent
a6d112c96e
commit
efd7048395
10
.github/workflows/openimci.yml
vendored
10
.github/workflows/openimci.yml
vendored
@ -157,10 +157,14 @@ jobs:
|
|||||||
- name: Install latest Bash (macOS only)
|
- name: Install latest Bash (macOS only)
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
brew update
|
||||||
|
|
||||||
brew install bash
|
brew install bash
|
||||||
sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells'
|
brew install gnu-sed
|
||||||
chsh -s /usr/local/bin/bash
|
|
||||||
echo "Bash version: $(bash --version)"
|
echo "/usr/local/bin" >> $GITHUB_PATH
|
||||||
|
echo "$(brew --prefix)/opt/gnu-sed/libexec/gnubin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Docker Operations
|
- name: Docker Operations
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user