Skip to content

Commit

Permalink
Merge pull request #29 from aluzzardi/version-default-latest
Browse files Browse the repository at this point in the history
version: default to latest
  • Loading branch information
crazy-max authored Mar 9, 2022
2 parents dc68f28 + bd4594e commit 64f8bd9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Following inputs can be used as `step.with` keys

| Name | Type | Default | Description |
|------------------|---------|--------------|------------------------------------------------------------------|
| `version` | String | `0.1` | Dagger version |
| `version` | String | `latest` | Dagger version |
| `age-key` | String | | Dagger private key |
| `args` | String | | Arguments to pass to Dagger |
| `workdir` | String | `.` | Working directory (below repository root) |
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ branding:
inputs:
version:
description: 'Dagger version'
default: '0.1'
default: 'latest'
required: false
age-key:
description: 'Dagger private key'
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface Inputs {

export async function getInputs(): Promise<Inputs> {
return {
version: core.getInput('version') || '0.1',
version: core.getInput('version') || 'latest',
ageKey: core.getInput('age-key'),
workdir: core.getInput('workdir') || '.',
args: core.getInput('args'),
Expand Down

0 comments on commit 64f8bd9

Please sign in to comment.