Skip to content
play

GitHub Action

dnn-platform-get-version

v1.0.0 Latest version

dnn-platform-get-version

play

dnn-platform-get-version

Fetches the latest official Dnn.Plaform release version

Installation

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

              

- name: dnn-platform-get-version

uses: valadas/dnn-platform-get-version@v1.0.0

Learn more about this action in valadas/dnn-platform-get-version

Choose a version

Simple github action that fetches the latest offical release version of dnn.

inputs

owner: the repository owner (optional), defaults to dnnsoftware. repo: The repository name (optional), defaults to Dnn.Platform

outputs

This action returns primitive outputs to represent the latest released version

  • tag: string representing the latest tag
  • major: number representing the major version
  • minor: number representing the minor version
  • patch: number representing the path version
  • manifestSafeVersionString: A string that is save to use in manifest version numbers.

Example:

tag: "v9.6.0"
major: 9
minor: 6
patch: 0
manifestSafeVersionString: "09.06.00"