Skip to content

Commit

Permalink
Use rm to remove python link
Browse files Browse the repository at this point in the history
  • Loading branch information
Paco Wong committed Nov 25, 2023
1 parent e8d6ea4 commit acd01fd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/generate-xcframework-maccatalyst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,18 @@ jobs:
brew install [email protected]
#brew install python3
ls /usr/local/bin/python*
rm /usr/local/bin/python /usr/local/bin/python3
#echo "alias python=/usr/local/bin/python3.10" >> ~/.zshrc
#echo "alias python3=/usr/local/bin/python3.10" >> ~/.zshrc
#source ~/.zshrc
#alias python3=/usr/local/bin/python3.10
#alias python=/usr/local/bin/python3.10
brew unlink python
brew switch python 3.10
alias python3=/usr/local/bin/python3.10
alias python=/usr/local/bin/python3.10
#brew unlink python
#brew switch python 3.10
brew link --overwrite [email protected]
python3 --version
python --version
which python3
- name: checkout repository
uses: actions/checkout@v3
Expand Down

0 comments on commit acd01fd

Please sign in to comment.