mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-01 21:19:44 +11:00
Merge pull request #29 from aluzzardi/version-default-latest
version: default to latest
This commit is contained in:
commit
64f8bd95de
4 changed files with 4 additions and 4 deletions
|
|
@ -69,7 +69,7 @@ Following inputs can be used as `step.with` keys
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|------------------|---------|--------------|------------------------------------------------------------------|
|
|------------------|---------|--------------|------------------------------------------------------------------|
|
||||||
| `version` | String | `0.1` | Dagger version |
|
| `version` | String | `latest` | Dagger version |
|
||||||
| `age-key` | String | | Dagger private key |
|
| `age-key` | String | | Dagger private key |
|
||||||
| `args` | String | | Arguments to pass to Dagger |
|
| `args` | String | | Arguments to pass to Dagger |
|
||||||
| `workdir` | String | `.` | Working directory (below repository root) |
|
| `workdir` | String | `.` | Working directory (below repository root) |
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ branding:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: 'Dagger version'
|
description: 'Dagger version'
|
||||||
default: '0.1'
|
default: 'latest'
|
||||||
required: false
|
required: false
|
||||||
age-key:
|
age-key:
|
||||||
description: 'Dagger private key'
|
description: 'Dagger private key'
|
||||||
|
|
|
||||||
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
|
@ -41,7 +41,7 @@ const core = __importStar(__webpack_require__(186));
|
||||||
function getInputs() {
|
function getInputs() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
return {
|
return {
|
||||||
version: core.getInput('version') || '0.1',
|
version: core.getInput('version') || 'latest',
|
||||||
ageKey: core.getInput('age-key'),
|
ageKey: core.getInput('age-key'),
|
||||||
workdir: core.getInput('workdir') || '.',
|
workdir: core.getInput('workdir') || '.',
|
||||||
args: core.getInput('args'),
|
args: core.getInput('args'),
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ export interface Inputs {
|
||||||
|
|
||||||
export async function getInputs(): Promise<Inputs> {
|
export async function getInputs(): Promise<Inputs> {
|
||||||
return {
|
return {
|
||||||
version: core.getInput('version') || '0.1',
|
version: core.getInput('version') || 'latest',
|
||||||
ageKey: core.getInput('age-key'),
|
ageKey: core.getInput('age-key'),
|
||||||
workdir: core.getInput('workdir') || '.',
|
workdir: core.getInput('workdir') || '.',
|
||||||
args: core.getInput('args'),
|
args: core.getInput('args'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue