OS version
ActionsTags
(1)This action reads the current operating system (os) version.
None
The version of the operating system this action is run on (e.g. 24.04
for Ubuntu 24.04).
Use the following snippet to read the current os version:
uses: sersoft-gmbh/os-version-action@v3
id: os-version
You can then get the version in a later step by using ${{ steps.os-version.outputs.version }}
.
OS version is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.