From 82d45f25780e61ea4e58266138930bff832509ba Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 3 Jun 2022 16:17:27 -0400 Subject: [PATCH] Update action.yml --- action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 39f589e..68d537b 100644 --- a/action.yml +++ b/action.yml @@ -38,9 +38,11 @@ runs: else npm install -g "aws-cdk@${{ inputs.cdk_version }}" fi + + cdk ${{ inputs.cdk_subcommand }} ${{ inputs.cdk_extra_args }} "${{ inputs.cdk_stack }}" + else + npx cdk ${{ inputs.cdk_subcommand }} ${{ inputs.cdk_extra_args }} "${{ inputs.cdk_stack }}" fi - - cdk ${{ inputs.cdk_subcommand }} ${{ inputs.cdk_extra_args }} "${{ inputs.cdk_stack }}" shell: bash branding: icon: upload-cloud