Skip to content

macos-14-test

macos-14-test #6

Workflow file for this run

name: macos-14-test
on:
workflow_dispatch:
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: macos-14
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- name: Show tccDB
run: |
sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "SELECT * FROM access;"
- name: Grant microphone access
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);"
- name: Show tccDB after change
run: |
sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "SELECT * FROM access;"
- name: Play a sound
timeout-minutes: 3
run: |
(sleep 10; screencapture debugscreen.png) &
afplay /System/Library/Sounds/Funk.aiff
sleep 20
- name: Publish debug screenshot
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: debugscreen.png
path: debugscreen.png