Skip to content
shield

GitHub Action

easyware-io/get-version

v1 Latest version

easyware-io/get-version

shield

easyware-io/get-version

Get version of an app

Installation

Copy and paste the following snippet into your .yml file.

              

- name: easyware-io/get-version

uses: easyware-io/get-version@v1

Learn more about this action in easyware-io/get-version

Choose a version

easyware-io/get-version@v1

CI

Get version of an app.

Usage

Basic usage

- name: Get version of app
  uses: easyware-io/get-version@v1
  with:
    app: angular || quarkus

Parameters

app

Valid values are angular and quarkus.

path

Optional. Path of file to read in case of not root directory. Default is ./

error-on-unknown

Optional. If true, throws error if version is not found. Default is false.

Outputs

version

String containing the app version number. If not found, returns null.