From 412073253f03099d0fe4081b26ad5f0494fea8d2 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 30 Sep 2024 10:31:15 +0200 Subject: [PATCH] test: unflake microphone/video tests on macOS 15 (#32870) --- .github/actions/enable-microphone-access/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/enable-microphone-access/action.yml b/.github/actions/enable-microphone-access/action.yml index d706b17544..76ca24eebf 100644 --- a/.github/actions/enable-microphone-access/action.yml +++ b/.github/actions/enable-microphone-access/action.yml @@ -14,7 +14,7 @@ runs: fi echo "Allowing microphone access to all apps" version=$(sw_vers -productVersion | cut -d. -f1) - if [[ "$version" == "14" ]]; then + if [[ "$version" == "14" || "$version" == "15" ]]; then sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159,NULL,NULL,'UNUSED',1687786159);" elif [[ "$version" == "12" || "$version" == "13" ]]; then sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR REPLACE INTO access VALUES('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159);"