Documentation
¶
Rendered for darwin/amd64
Overview ¶
macosversion reports the current macOS version so the acceptance workflow can decide whether the committed bindings (generated against one SDK major) are exercisable on this runner.
Deliberately does NOT use the generated bindings: this check is what gates their use, so it must work on a runner whose OS predates the bindings' SDK (where loading them can fail). sw_vers is the narrowest OS-independent probe.
When GITHUB_OUTPUT is set the results are written as GitHub Actions step outputs:
macos_version – full macOS version string, e.g. "26.5" macos_major – macOS major version number, e.g. "26" macos_minor – macOS minor version number, e.g. "5"
When running locally the same key=value pairs are printed to stdout.
Click to show internal directories.
Click to hide internal directories.