Răsfoiți Sursa

[ci] fix mac build?

Dan Korostelev 4 ani în urmă
părinte
comite
b9a41b1f06
2 a modificat fișierele cu 2 adăugiri și 10 ștergeri
  1. 1 5
      .github/workflows/main.yml
  2. 1 5
      extra/github-actions/build-mac.yml

+ 1 - 5
.github/workflows/main.yml

@@ -367,12 +367,8 @@ jobs:
       - name: Install dependencies
         run: |
           set -ex
-          brew uninstall [email protected] || echo
-          brew uninstall [email protected] || echo
-          brew untap local/openssl || echo
-          brew untap local/python2 || echo
           brew update
-          # brew unlink python@2
+          brew install [email protected] || brew link --overwrite [email protected]
           brew bundle --file=tests/Brewfile --no-upgrade || brew link --overwrite awscli
       
       - name: Install OCaml libraries

+ 1 - 5
extra/github-actions/build-mac.yml

@@ -1,12 +1,8 @@
 - name: Install dependencies
   run: |
     set -ex
-    brew uninstall [email protected] || echo
-    brew uninstall [email protected] || echo
-    brew untap local/openssl || echo
-    brew untap local/python2 || echo
     brew update
-    # brew unlink python@2
+    brew install [email protected] || brew link --overwrite [email protected]
     brew bundle --file=tests/Brewfile --no-upgrade || brew link --overwrite awscli
 
 - name: Install OCaml libraries