Skip to content

Commit e82603f

Browse files
feat: support macos sonoma
1 parent 1832c8b commit e82603f

File tree

11 files changed

+85
-24
lines changed

11 files changed

+85
-24
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[![MacOS Big Sur Support](https://img.shields.io/badge/macos-Big_Sur-blue.svg?logo=apple)](https://apps.apple.com/id/app/macos-big-sur/id1526878132)
88
[![MacOS Monetary Support](https://img.shields.io/badge/macos-Monetary-blue.svg?logo=apple)](https://apps.apple.com/us/app/macos-monterey/id1576738294)
99
[![MacOS Ventura Support](https://img.shields.io/badge/macos-Ventura-blue.svg?logo=apple)](https://apps.apple.com/us/app/macos-ventura/id1638787999)
10+
[![MacOS Sonoma Support](https://img.shields.io/badge/macos-Somona-blue.svg?logo=apple)](https://apps.apple.com/us/app/macos-sonoma/id6450717509)
1011
[![Windows 10 Support](https://img.shields.io/badge/windows-10-blue.svg?logo=windows10)](https://www.microsoft.com/en-gb/software-download/windows10ISO)
1112
[![Windows Server 2019 Support](https://img.shields.io/badge/windows_server-2019-blue.svg?logo=windows)](https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2019)
1213
[![Windows Server 2022 Support](https://img.shields.io/badge/windows_server-2022-blue.svg?logo=windows)](https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2022)
@@ -47,6 +48,19 @@ There are also options to change the screen resolution:
4748
resolutionHeight: "1080"
4849
```
4950

51+
#### Ignore TCC.db Updates
52+
53+
If updating the TCC.db is not possible (due to SIP) or required you can skip the database update step by passing a `ignoreTccDb` option:
54+
55+
```yaml
56+
- name: Setup Environment
57+
uses: guidepup/setup-action
58+
with:
59+
ignoreTccDb: true
60+
```
61+
62+
> Note: If the necessary permissions have not been granted by other means, using this flag may result in your environment not being setup for reliable screen reader automation.
63+
5064
### Windows
5165

5266
#### NVDA Installation

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ inputs:
1717
description: "Whether to screen-record the setup flow and save to a './recordings/' folder in the current working directory. macos agents only."
1818
required: false
1919
default: false
20+
ignoreTccDb:
21+
description: "Ignore TCC.db updates if not possible or required for your environment. Default is not to ignore. macos agents only."
22+
required: false
23+
default: ""
2024
nvdaInstallDir:
2125
description: "Specify a custom location for where to install NVDA. Default is to install to a temporary directory. windows agents only."
2226
required: false

index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ async function main() {
2424
if (record) {
2525
process.argv.push("--record");
2626
}
27+
28+
const ignoreTccDb = core.getInput("ignoreTccDb") || false;
29+
30+
if (ignoreTccDb) {
31+
process.argv.push("--ignore-tcc-db");
32+
}
2733
}
2834

2935
if (os.platform === "win32") {

node_modules/.yarn-integrity

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@guidepup/setup/README.md

Lines changed: 17 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@guidepup/setup/lib/logging.d.ts

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@guidepup/setup/lib/logging.js

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@guidepup/setup/lib/macOS/setup.js

Lines changed: 15 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@guidepup/setup/package.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@guidepup/setup-action",
3-
"version": "0.14.0",
3+
"version": "0.15.0",
44
"description": "GitHub Action to setup your environment for screen reader test automation.",
55
"main": "index.js",
66
"author": "Craig Morten <[email protected]>",
@@ -23,6 +23,6 @@
2323
"dependencies": {
2424
"@actions/core": "^1.10.1",
2525
"@actions/exec": "^1.1.1",
26-
"@guidepup/setup": "^0.14.0"
26+
"@guidepup/setup": "^0.15.0"
2727
}
2828
}

0 commit comments

Comments
 (0)