diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5575de1..aa65950 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: version: - - latest + - 0.2 - 0.2.5 steps: - @@ -56,7 +56,7 @@ jobs: fail-fast: false matrix: version: - - latest + - 0.2 - 0.2.5 steps: - diff --git a/README.md b/README.md index 1cb4aab..eef0916 100644 --- a/README.md +++ b/README.md @@ -87,13 +87,13 @@ Following inputs can be used as `step.with` keys > do test > ``` -| Name | Type | Default | Description | -|------------------|--------|--------------|----------------------------------------------------------------------------------------| -| `version` | String | `latest` | Dagger version (e.g., `v0.2.7`, `latest`, `https://github.com/dagger/dagger.git#main`) | -| `cmds` | List | | List of Dagger commands | -| `workdir` | String | `.` | Working directory (below repository root) | -| `install-only` | Bool | `false` | Just install Dagger | -| `cleanup` | Bool | `true` | Cleanup Dagger home folder at the end of a job | +| Name | Type | Default | Description | +|----------------|--------|---------|----------------------------------------------------------------------------------------| +| `version` | String | `0.2` | Dagger version (e.g., `0.2.36`, `latest`, `https://github.com/dagger/dagger.git#main`) | +| `cmds` | List | | List of Dagger commands | +| `workdir` | String | `.` | Working directory (below repository root) | +| `install-only` | Bool | `false` | Just install Dagger | +| `cleanup` | Bool | `true` | Cleanup Dagger home folder at the end of a job | ## Development diff --git a/action.yml b/action.yml index 6eabf60..96bdcf1 100644 --- a/action.yml +++ b/action.yml @@ -8,7 +8,7 @@ branding: inputs: version: description: 'Dagger version' - default: 'latest' + default: '0.2' required: false args: description: 'Arguments to pass to Dagger' diff --git a/src/context.ts b/src/context.ts index 01c6d14..18c9f7e 100644 --- a/src/context.ts +++ b/src/context.ts @@ -23,7 +23,7 @@ export interface Inputs { export async function getInputs(): Promise { return { - version: core.getInput('version') || 'latest', + version: core.getInput('version') || '0.2', workdir: core.getInput('workdir') || '.', args: core.getInput('args'), installOnly: core.getBooleanInput('install-only'),