Skip to content

Commit

Permalink
ci: python install error on mac
Browse files Browse the repository at this point in the history
GITHUB:no

nmeum/android-tools#150

The formula built, but is not symlinked into /usr/local ;##[error]The �rew link step did not complete successfully; Could not symlink bin/2to3;Target /usr/local/bin/2to3;already exists. You may want to remove it:rm '/usr/local/bin/2to3'
  • Loading branch information
MackBambu committed Jun 22, 2024
1 parent ee44418 commit 049138d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ jobs:
working-directory: ${{ github.workspace }}
run: Compress-Archive -Path "${{ github.workspace }}\deps\build\BambuStudio_dep\*" -DestinationPath "${{ github.workspace }}\deps\build\BambuStudio_dep_win64_${{ env.date }}_vs2022.zip"
shell: pwsh


- name: Fix python install error on mac
if: inputs.os == 'macos-13'
working-directory: ${{ github.workspace }}
run: |
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
sudo rm -rf /Library/Frameworks/Python.framework/
brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3
- name: Build on Mac ${{ inputs.arch }}
if: inputs.os == 'macos-13'
Expand Down

0 comments on commit 049138d

Please sign in to comment.