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.
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
Install the latest GitReleaseManager 0.18.x version.
steps:
- name: Install GitReleaseManager
uses: gittools/actions/gitreleasemanager/[email protected]
with:
versionSpec: '0.18.x'
Install specific GitReleaseManager version 0.18.0.
steps:
- name: Install GitReleaseManager
uses: gittools/actions/gitreleasemanager/[email protected]
with:
versionSpec: '0.18.0'
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