2
0
Эх сурвалжийг харах

[ci] Ignore openssl & python related brew failures (#9997)

* ignore openssl & python related brew failures

* re-generate yml

* update flash ci
Aleksandr Kuzmenko 4 жил өмнө
parent
commit
c311b6d600

+ 4 - 4
.github/workflows/main.yml

@@ -367,10 +367,10 @@ jobs:
       - name: Install dependencies
         run: |
           set -ex
-          brew uninstall [email protected]
-          brew uninstall [email protected]
-          brew untap local/openssl
-          brew untap local/python2
+          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 bundle --file=tests/Brewfile --no-upgrade || brew link --overwrite awscli

+ 4 - 4
extra/github-actions/build-mac.yml

@@ -1,10 +1,10 @@
 - name: Install dependencies
   run: |
     set -ex
-    brew uninstall [email protected]
-    brew uninstall [email protected]
-    brew untap local/openssl
-    brew untap local/python2
+    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 bundle --file=tests/Brewfile --no-upgrade || brew link --overwrite awscli

+ 4 - 4
tests/runci/targets/Flash.hx

@@ -76,10 +76,10 @@ class Flash {
 				if (commandResult("brew", ["cask", "list", "flash-player-debugger"]).exitCode == 0) {
 					return;
 				}
-				runCommand("brew", ["uninstall", "[email protected]"]);
-				runCommand("brew", ["uninstall", "[email protected]"]);
-				runCommand("brew", ["untap", "local/openssl"]);
-				runCommand("brew", ["untap", "local/python2"]);
+				runCommand("brew", ["uninstall", "[email protected]"], false, true);
+				runCommand("brew", ["uninstall", "[email protected]"], false, true);
+				runCommand("brew", ["untap", "local/openssl"], false, true);
+				runCommand("brew", ["untap", "local/python2"], false, true);
 				runCommand("brew", ["update"]);
 				runCommand("brew", ["cask", "install", "flash-player-debugger"]);