carlkidcrypto/OS specific runner
Run a command based on the OS.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 8, 2026
- License
- MIT
Pinned Snippet
uses: carlkidcrypto/os-specific-runner@6bfb32d4934b42e6817f3f4109c9f3c26abc9fab # v2.3.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| aix | Shell command to run on AIX | no | echo "No command specified for aix" |
| freebsd | Shell command to run on FreeBSD | no | echo "No command specified for freebsd" |
| linux | Shell command to run on Linux | no | echo "No command specified for linux" |
| macos | Shell command to run on macOS | no | echo "No command specified for macos" |
| openbsd | Shell command to run on OpenBSD | no | echo "No command specified for openbsd" |
| sunos | Shell command to run on SunOS | no | echo "No command specified for sunos" |
| windows | Shell command to run on Windows | no | echo "No command specified for windows" |
| aixShell | Shell to use on AIX (e.g. sh, bash, python, python3) | no | sh |
| freebsdShell | Shell to use on FreeBSD (e.g. sh, bash, python, python3) | no | sh |
| linuxShell | Shell to use on Linux (e.g. bash, sh, python, python3) | no | bash |
| macosShell | Shell to use on macOS (e.g. zsh, bash, python, python3) | no | zsh |
| openbsdShell | Shell to use on OpenBSD (e.g. sh, bash, python, python3) | no | sh |
| sunosShell | Shell to use on SunOS (e.g. sh, bash, python, python3) | no | sh |
| windowsShell | Shell to use on Windows (e.g. pwsh, powershell, cmd, python, python3) | no | pwsh |
| working_directory | Directory path from which to run commands. Leave empty to use a temporary scratch directory. | no | "" |
Outputs
no outputs