Skip to content

Commit

Permalink
chore: bump default dagger version to v0.11.5 (#127)
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Chadwell <me@jedevc.com>
  • Loading branch information
jedevc committed May 28, 2024
1 parent 53a9007 commit cf09bf6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
verb: run
args: node build.js
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
version: "0.11.4"
version: "0.11.5"
```

### Staying in sync with the `latest` version
Expand All @@ -35,7 +35,7 @@ By setting the version to `latest`, this action will install the latest version

| Key | Description | Required | Default |
| --------------- | ------------------------------------------------------------- | ---------- | --------------------- |
| `version` | Dagger Version | false | '0.11.4' |
| `version` | Dagger Version | false | '0.11.5' |
| `dagger-flags` | Dagger CLI Flags | false | '--progress plain' |
| `verb` | CLI verb (call, run, download, up, functions, shell, query) | false | 'call' |
| `workdir` | The working directory in which to run the Dagger CLI | false | '.' |
Expand Down
40 changes: 20 additions & 20 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
name: 'Dagger for GitHub'
description: 'Run dagger commands in Github Actions'
name: "Dagger for GitHub"
description: "Run dagger commands in Github Actions"
inputs:
version:
description: 'Dagger Version'
description: "Dagger Version"
required: false
default: '0.11.4'
default: "0.11.5"
dagger-flags:
description: 'Dagger CLI Flags'
description: "Dagger CLI Flags"
required: false
default: '--progress plain'
default: "--progress plain"
verb:
description: 'CLI verb (call, run, download, up, functions, shell, query)'
description: "CLI verb (call, run, download, up, functions, shell, query)"
required: false
default: 'call'
default: "call"
workdir:
description: 'The working directory in which to run the Dagger CLI'
description: "The working directory in which to run the Dagger CLI"
required: false
default: '.'
default: "."
cloud-token:
description: 'Dagger Cloud Token'
description: "Dagger Cloud Token"
required: false
default: ''
default: ""
module:
description: 'Dagger module to call. Local or Git'
description: "Dagger module to call. Local or Git"
required: false
default: ''
default: ""
args:
description: 'Arguments to pass to CLI'
description: "Arguments to pass to CLI"
required: false
default: ''
default: ""
engine-stop:
description: 'Whether to stop the Dagger Engine after this run'
description: "Whether to stop the Dagger Engine after this run"
required: false
default: 'true'
default: "true"
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -69,12 +69,12 @@ runs:
${{ inputs.args }}; }
shell: bash
env:
INPUT_MODULE: ${{ inputs.module }}
INPUT_MODULE: ${{ inputs.module }}
- run: |
mapfile -t containers < <(docker ps --filter name="dagger-engine-*" -q)
if [[ "${#containers[@]}" -gt 0 ]]; then
docker stop -t 300 "${containers[@]}";
fi
shell: bash
if: inputs.engine-stop == 'true'
if: inputs.engine-stop == 'true'

0 comments on commit cf09bf6

Please sign in to comment.