mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-02 05:19:47 +11:00
Add option to not kill Engine
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
This commit is contained in:
parent
c2ba97152a
commit
e86a41a730
2 changed files with 6 additions and 2 deletions
|
|
@ -38,4 +38,4 @@
|
||||||
| `cloud-token` | Dagger Cloud Token | false | '' |
|
| `cloud-token` | Dagger Cloud Token | false | '' |
|
||||||
| `module` | Dagger module to call. Local or Git | false | '' |
|
| `module` | Dagger module to call. Local or Git | false | '' |
|
||||||
| `args` | Arguments to pass to CLI | false | '' |
|
| `args` | Arguments to pass to CLI | false | '' |
|
||||||
|
| `engine-stop` | Whether to stop the Dagger Engine after this run | false | 'true' |
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,10 @@ inputs:
|
||||||
description: 'Arguments to pass to CLI'
|
description: 'Arguments to pass to CLI'
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
|
engine-stop:
|
||||||
|
description: 'Whether to stop the Dagger Engine after this run'
|
||||||
|
required: false
|
||||||
|
default: 'true'
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -64,4 +68,4 @@ runs:
|
||||||
docker stop -t 300 "${containers[@]}";
|
docker stop -t 300 "${containers[@]}";
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
if: ${{ always() }}
|
if: inputs.engine-stop == 'true'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue