OpenToonz - An open-source full-featured 2D animation creation software
C
actions-macos: remove symlinks before installing python (#4702)
shun-iwasawaf2a30fde4bd9
diff --git a/.github/workflows/workflow_macos.yml b/.github/workflows/workflow_macos.ymlindex 5403620a8..100246625 100644--- a/.github/workflows/workflow_macos.yml+++ b/.github/workflows/workflow_macos.yml@@ -8,13 +8,26 @@ jobs:steps:- uses: actions/checkout@v2+ - name: Remove symlinks+ run: |+ # remove existing symlinks before installing [email protected] and 3.11+ rm /usr/local/bin/2to3+ rm /usr/local/bin/idle3+ rm /usr/local/bin/pydoc3+ rm /usr/local/bin/python3+ rm /usr/local/bin/python3-config+ rm /usr/local/bin/2to3-3.11+ rm /usr/local/bin/idle3.11+ rm /usr/local/bin/pydoc3.11+ rm /usr/local/bin/python3.11+ rm /usr/local/bin/python3.11-config+- name: Install librariesrun: |checkPkgAndInstall(){while [ $# -ne 0 ]do- rm -f '/usr/local/bin/2to3'if brew ls --versions $1 ; thenbrew upgrade $1else@@ -22,13 +35,7 @@ jobs:fishiftdone- }- # remove existing symlinks before installing [email protected]- rm /usr/local/bin/idle3- rm /usr/local/bin/pydoc3- rm /usr/local/bin/python3- rm /usr/local/bin/python3-config-+ }brew updatecheckPkgAndInstall pkg-config glew lz4 libjpeg libpng lzo qt@5 boost libusb libmypaint ccache jpeg-turbo ninjacheckPkgAndInstall opencv