Skip to content

Commit

Permalink
make the inputs optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Anderson committed Feb 20, 2020
1 parent d0c43b1 commit 8757d81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ This action runs packer build.

### `templateFile`

**Required** Packer template file to use for packer build. Default `"packer-template.json"`.
**Optional** Packer template file to use for packer build. Default `"packer-template.json"`.

### `varFile`

**Required** Var file to use for packer build. Default `"packer-vars.json"`.
**Optional** Var file to use for packer build. Default `"packer-vars.json"`.

### `workingDir`

Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ description: 'Run packer build on a template file'
inputs:
templateFile:
description: 'Packer template file to use for packer build'
required: true
required: false
default: 'packer-template.json'
varFile:
description: 'Var file to use for packer build'
required: true
required: false
default: 'packer-vars.json'
workingDir:
description: 'Directory where the packer template and var file reside'
Expand Down

0 comments on commit 8757d81

Please sign in to comment.