tcpipuk/Detect OS and Runtime Versions

Detect OS and runtime versions with semantic versioning outputs for GitHub/Forgejo workflows

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None

no inputs

namedescription
nameOS name (e.g. Ubuntu, Debian, CentOS, macOS, Windows)
versionOS version (e.g. 22.04, 11, 2022)
slugCombined OS slug (e.g. Ubuntu-22.04, macOS-13, Windows-2022)
archSystem architecture (e.g. x64, arm64)
cmake_majorMajor version of CMake if available (e.g. 3)
cmake_minorMinor version of CMake if available (e.g. 28)
cmake_patchPatch version of CMake if available (e.g. 1)
cmake_versionFull CMake version if available (e.g. 3.28.1)
docker_majorMajor version of Docker if available (e.g. 24)
docker_minorMinor version of Docker if available (e.g. 0)
docker_patchPatch version of Docker if available (e.g. 7)
docker_versionFull Docker version if available (e.g. 24.0.7)
git_majorMajor version of Git if available (e.g. 2)
git_minorMinor version of Git if available (e.g. 43)
git_patchPatch version of Git if available (e.g. 0)
git_versionFull Git version if available (e.g. 2.43.0)
go_majorMajor version of Go if available (e.g. 1)
go_minorMinor version of Go if available (e.g. 21)
go_patchPatch version of Go if available (e.g. 5)
go_versionFull Go version if available (e.g. 1.21.5)
java_majorMajor version of Java if available (e.g. 21)
java_minorMinor version of Java if available (e.g. 0)
java_patchPatch version of Java if available (e.g. 1)
java_versionFull Java version if available (e.g. 21.0.1)
node_majorMajor version of Node.js if available (e.g. 22)
node_minorMinor version of Node.js if available (e.g. 19)
node_patchPatch version of Node.js if available (e.g. 0)
node_versionFull Node.js version if available (e.g. 22.19.0)
python_majorMajor version of Python if available (e.g. 3)
python_minorMinor version of Python if available (e.g. 11)
python_patchPatch version of Python if available (e.g. 5)
python_versionFull Python version if available (e.g. 3.11.5)
rust_majorMajor version of Rust if available (e.g. 1)
rust_minorMinor version of Rust if available (e.g. 75)
rust_patchPatch version of Rust if available (e.g. 0)
rust_versionFull Rust version if available (e.g. 1.75.0)