Skip to content

Commit e86a41a

Browse files
committed
Add option to not kill Engine
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
1 parent c2ba971 commit e86a41a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@
3838
| `cloud-token` | Dagger Cloud Token | false | '' |
3939
| `module` | Dagger module to call. Local or Git | false | '' |
4040
| `args` | Arguments to pass to CLI | false | '' |
41-
41+
| `engine-stop` | Whether to stop the Dagger Engine after this run | false | 'true' |

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ inputs:
2929
description: 'Arguments to pass to CLI'
3030
required: false
3131
default: ''
32+
engine-stop:
33+
description: 'Whether to stop the Dagger Engine after this run'
34+
required: false
35+
default: 'true'
3236
runs:
3337
using: "composite"
3438
steps:
@@ -64,4 +68,4 @@ runs:
6468
docker stop -t 300 "${containers[@]}";
6569
fi
6670
shell: bash
67-
if: ${{ always() }}
71+
if: inputs.engine-stop == 'true'

0 commit comments

Comments
 (0)