Skip to content

Commit ad4d946

Browse files
comoco-xiaofbxiang
authored andcommitted
fix macos building issue
1 parent 538fe89 commit ad4d946

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ jobs:
148148
run: |
149149
brew update
150150
brew install pyenv
151-
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
152-
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
153-
echo 'eval "$(pyenv init --path)"' >> ~/.bash_profile
154-
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
155-
source ~/.bash_profile
151+
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
152+
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
153+
echo 'eval "$(pyenv init --path)"' >> ~/.bashrc
154+
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
155+
source ~/.bashrc
156156
- name: Build wheels
157157
run: "git config --global --add safe.directory '*' && ./scripts/build_mac.sh"
158158
- name: Upload wheels

0 commit comments

Comments
 (0)