-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
60 lines (60 loc) · 1.3 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: 'KusionStack Action'
description: 'KusionStack Action'
inputs:
diffs:
description: 'diff files'
required: false
default: ''
subcommand:
description: 'kusion subcommand'
required: true
default: 'apply'
workDir:
description: 'work directory'
required: false
default: ''
settings:
description: 'KCL setting files'
required: false
default: ''
arguments:
description: 'KCL arguments'
required: false
default: ''
filenames:
description: 'KCL files'
required: false
default: ''
yes:
description: 'Kusion apply --yes'
required: false
default: 'false'
detail:
description: 'Kusion apply --detail'
required: false
default: 'false'
noStyle:
description: 'Kusion apply --no-style'
required: false
default: 'true'
dryRun:
description: 'Kusion apply --dry-run'
required: false
default: 'true'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.subcommand }}
- ${{ inputs.workDir}}
- ${{ inputs.settings }}
- ${{ inputs.arguments }}
- ${{ inputs.filenames }}
- ${{ inputs.yes }}
- ${{ inputs.detail }}
- ${{ inputs.noStyle }}
- ${{ inputs.dryRun }}
- ${{ inputs.diffs }}
branding:
icon: 'check-circle'
color: 'green'