Skip to content

Commit

Permalink
Merge pull request #31 from cisagov/improvement/add-terraform-docs
Browse files Browse the repository at this point in the history
Add terraform-docs version
  • Loading branch information
jsf9k authored Jul 13, 2021
2 parents 52ae115 + 100f88d commit c7faeb7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ None

| Name | Description |
|-------------------|-------------|
| PACKER_VERSION | The version of [Packer](https://packer.io) to use |
| TERRAFORM_VERSION | The version of [Terraform](https://terraform.io) to use |
| PACKER_VERSION | The version of [Packer](https://packer.io) to use. |
| TERRAFORM_VERSION | The version of [Terraform](https://terraform.io) to use. |
| TERRAFORM_DOCS_VERSION | The version of [terraform-docs](https://github.com/terraform-docs/terraform-docs) to use. |

## Usage ##

Expand Down
8 changes: 5 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ author: CISA Development Team
branding:
icon: globe
color: purple
description: Setup a shared GitHub Actions workflow environment
description: Setup a shared GitHub Actions workflow environment.
outputs:
PACKER_VERSION:
description: The version of Packer to download and use
description: The version of Packer to download and use.
TERRAFORM_VERSION:
description: The version of Terraform to download and use
description: The version of Terraform to download and use.
TERRAFORM_DOCS_VERSION:
description: The version of terraform-docs to download and use.
runs:
using: 'docker'
image: 'Dockerfile'
3 changes: 1 addition & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/sh

echo "PACKER_VERSION=1.7.3" >> "$GITHUB_ENV"
echo "TERRAFORM_VERSION=0.12.31" >> "$GITHUB_ENV"
{ echo "PACKER_VERSION=1.7.3"; echo "TERRAFORM_VERSION=0.12.31"; echo "TERRAFORM_DOCS_VERSION=v0.14.1"; } >> "$GITHUB_ENV"

0 comments on commit c7faeb7

Please sign in to comment.