Skip to content

OS version

Actions
Reads the current operating system (os) version
v3.0.1
Latest
Star (2)

Tags

 (1)

OS Version Action

Tests

This action reads the current operating system (os) version.

Inputs

None

Outputs

version

The version of the operating system this action is run on (e.g. 24.04 for Ubuntu 24.04).

Example Usage

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.

About

Reads the current operating system (os) version
v3.0.1
Latest

Tags

 (1)

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.