@@ -84,10 +84,10 @@ export interface GitHubWorkflowProps extends PipelineBaseProps {
8484 readonly concurrency ?: github . ConcurrencyOptions ;
8585
8686 /**
87- * Version of the CDK CLI to use.
87+ * Version of the [cdk-assets package](https://www.npmjs.com/package/cdk-assets) to use.
8888 * @default - automatic
8989 */
90- readonly cdkCliVersion ?: string ;
90+ readonly cdkAssetsVersion ?: string ;
9191
9292 /**
9393 * Indicates if the repository already contains a synthesized `cdk.out` directory, in which
@@ -204,7 +204,7 @@ export class GitHubWorkflow extends PipelineBase {
204204 private readonly preSynthed : boolean ;
205205 private readonly awsCredentials : AwsCredentialsProvider ;
206206 private readonly dockerCredentials : DockerCredential [ ] ;
207- private readonly cdkCliVersion ?: string ;
207+ private readonly cdkAssetsVersion ?: string ;
208208 private readonly buildContainer ?: github . ContainerOptions ;
209209 private readonly preBuildSteps : github . JobStep [ ] ;
210210 private readonly postBuildSteps : github . JobStep [ ] ;
@@ -229,7 +229,7 @@ export class GitHubWorkflow extends PipelineBase {
229229 constructor ( scope : Construct , id : string , props : GitHubWorkflowProps ) {
230230 super ( scope , id , props ) ;
231231
232- this . cdkCliVersion = props . cdkCliVersion ;
232+ this . cdkAssetsVersion = props . cdkAssetsVersion ;
233233 this . preSynthed = props . preSynthed ?? false ;
234234 this . buildContainer = props . buildContainer ;
235235 this . preBuildSteps = props . preBuildSteps ?? [ ] ;
@@ -538,7 +538,7 @@ export class GitHubWorkflow extends PipelineBase {
538538 throw new Error ( 'Asset Publish step must have at least 1 asset' ) ;
539539 }
540540
541- const installSuffix = this . cdkCliVersion ? `@${ this . cdkCliVersion } ` : '' ;
541+ const installSuffix = this . cdkAssetsVersion ? `@${ this . cdkAssetsVersion } ` : '' ;
542542 const cdkoutDir = options . assemblyDir ;
543543 const jobId = node . uniqueId ;
544544 const { assetId, assetManifestPath } = assets [ 0 ] ;
0 commit comments