From d7caf15ce2232e6e407e5c83745de4ba625939e5 Mon Sep 17 00:00:00 2001 From: Stephen Wade Date: Thu, 18 Apr 2024 02:11:28 -0400 Subject: [PATCH] Fix issues with audio in macOS 14 on GitHub Actions --- .github/workflows/tests_secondary.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml index 0ba6b9d848..e7c3c93cf9 100644 --- a/.github/workflows/tests_secondary.yml +++ b/.github/workflows/tests_secondary.yml @@ -65,6 +65,10 @@ jobs: env: PWTEST_BOT_NAME: "${{ matrix.browser }}-${{ matrix.os }}" steps: + # https://github.com/actions/runner-images/issues/9330 + - name: Allow microphone access to all apps (macOS 14) + if: ${{ matrix.os == 'macos-14' }} + run: 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);" - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: