Skip to content

A GitHub action that reads the operating system (OS) version.

License

Notifications You must be signed in to change notification settings

sersoft-gmbh/os-version-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. 22.04 for Ubuntu 22.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 }}.