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