Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions example/actions/arguments/action.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
action:
title: arguments
description: Test passing options to executed command
arguments:
- name: arg1
title: Argument 1
description: Some additional info for arg
required: true # false by default
- name: arg2
title: Argument 2
description: Some additional info for arg
options:
- name: firstoption
title: First option
Expand All @@ -19,5 +27,7 @@ runtime:
command:
- sh
- /action/main.sh
- "{{ .arg1 }}"
- "{{ .arg2 }}"
- "{{ .firstoption }}"
- "{{ .secondoption }}"
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ action:
- name: arg1
title: Argument 1
description: Some additional info for arg
required: true
- name: arg2
title: Argument 2
description: Some additional info for arg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ action:
- name: arg1
title: Argument 1
description: Some additional info for arg
required: true
- name: arg2
title: Argument 2
description: Some additional info for arg
Expand Down
1 change: 1 addition & 0 deletions example/actions/platform/actions/build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ action:
- name: arg1
title: Argument 1
description: Some additional info for arg
required: true
- name: arg2
title: Argument 2
description: Some additional info for arg
Expand Down
1 change: 1 addition & 0 deletions example/actions/platform/actions/bump/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ action:
- name: arg1
title: Argument 1
description: Some additional info for arg
required: false
- name: arg2
title: Argument 2
description: Some additional info for arg
Expand Down