forked from youyo/aws-cdk-github-actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (42 loc) · 1.07 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: 'AWS CDK GitHub Actions'
description: 'Runs AWS-CDK via GitHub Actions.'
author: 'youyo <[email protected]>'
branding:
icon: 'terminal'
color: 'yellow'
inputs:
cdk_stack:
description: 'AWS CDK stack name to execute.'
default: '*'
cdk_version:
description: 'AWS CDK version to install.'
default: 'latest'
cdk_subcommand:
description: 'AWS CDK subcommand to execute.'
required: true
cdk_args:
description: 'AWS CDK subcommand arguments.'
required: false
working_dir:
description: 'AWS CDK working directory.'
default: '.'
actions_comment:
description: 'Whether or not to comment on pull requests.'
default: true
debug_log:
description: 'Enable debug-log'
default: false
outputs:
status_code:
description: 'Returned status code.'
runs:
using: 'docker'
image: './Dockerfile'
args:
- ${{ inputs.cdk_stack }}
- ${{ inputs.cdk_version }}
- ${{ inputs.cdk_subcommand }}
- ${{ inputs.cdk_args }}
- ${{ inputs.working_dir }}
- ${{ inputs.actions_comment }}
- ${{ inputs.debug_log }}