Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.49 KB

File metadata and controls

61 lines (47 loc) · 1.49 KB

Setup GitReleaseManager Action (gitreleasemanager/setup) Usage Examples

Find out how to use the gitreleasemanager/setup action using the examples below.

The examples use version 3.0.2 of the GitReleaseManager Setup action. It is recommended to use the latest released version in your own workflows.

Inputs

The Setup GitReleaseManager action accepts the following inputs:

versionSpec:
  description: Required version in the form of 0.18.x or exact version like 0.18.0.
  required: true
  default: ''
includePrerelease:
  description: Include pre-release versions when matching a version.
  required: false
  default: false
ignoreFailedSources:
  description: Treat package source failures as warnings.
  required: false
  default: false

Example 1

Install the latest GitReleaseManager 0.18.x version.

steps:
  - name: Install GitReleaseManager
    uses: gittools/actions/gitreleasemanager/[email protected]
    with:
      versionSpec: '0.18.x'

Example 2

Install specific GitReleaseManager version 0.18.0.

steps:
  - name: Install GitReleaseManager
    uses: gittools/actions/gitreleasemanager/[email protected]
    with:
      versionSpec: '0.18.0'

Example 3

Install the latest GitReleaseManager 0.18.x version even it there is a cached version matching the versionSpec.~~~~

steps:
  - name: Install GitReleaseManager
    uses: gittools/actions/gitreleasemanager/[email protected]
    with:
      versionSpec: '0.18.x'
      preferLatestVersion: true