This action gets the latest AWS CDK release version for a given major version of the AWS CDK and then updates the projects projen configuration to use this new version.
Required The major version to get releases for.
Required The target branch to run this action against.
Optional The version of node to set up. Defaults to 14.18.0
success or failure for the build after upgrade
true if changes were made and a patch was created
The version of AWS CDK the projen file contained before this action was run.
The version of AWS CDK the upgrade script changes the projen file to during this action.
The name of the patch created if a patch is created.
Always .repo.patch
uses: renovosolutions/gh-action-awscdk-projen-version-bump@v2
with:
major-version: 2Be sure to run something like shellcheck on the script when making changes.