Specifying the action version to use
By default, when you add an action to a workflow, Amazon CodeCatalyst adds the full version to the workflow definition file using the format:
v
major
.minor
.patch
For example:
My-Build-Action: Identifier: aws/build@v1.0.0
You can shorten the full version in the Identifier
property so that the
workflow always uses the latest minor or patch version of the action.
For example, if you specify:
My-CloudFormation-Action: Identifier: aws/cfn-deploy@v1.0
...and the latest patch version is 1.0.4
, then the action will use
1.0.4
. If a later version is released, say 1.0.5
, then the
action will use 1.0.5
. If a minor version is released, say
1.1.0
, then the action will continue to use 1.0.5
.
For detailed instructions on specifying versions, see one of the following topics.
Use the following instructions to indicate which version of an action you want your workflow to use. You can specify the latest major or minor version, or a specific patch version.
We recommend using the latest minor or patch version of an action.