Skip to content

Commit

Permalink
fixup! Refresh Github Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
xunleii committed Nov 11, 2023
1 parent 5c01b30 commit 08a2961
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github.documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Generate README.md with terraform-docs
run: |
mkdir .terraform-docs
curl -L https://github.com/terraform-docs/terraform-docs/releases/download/v0.16.0/terraform-docs-v0.16.0-$(uname)-amd64.tar.gz | tar -xvzC .terraform-docs
curl -L "https://github.com/terraform-docs/terraform-docs/releases/download/v0.16.0/terraform-docs-v0.16.0-$(uname)-amd64.tar.gz" | tar -xvzC .terraform-docs
chmod +x .terraform-docs/terraform-docs
.terraform-docs/terraform-docs .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/templates/terraform.pull_requests.lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
run: |
# Setup `workdir` suffix used to give more information during execution
if [[ '${{ inputs.terraform_workdir }}' == '.' ]]; then
echo "workdir=" >> $GITHUB_OUTPUT
echo "workdir=" >> "${GITHUB_OUTPUT}"
else
echo "workdir=(${{ inputs.terraform_workdir }})" >> $GITHUB_OUTPUT
echo "workdir=(${{ inputs.terraform_workdir }})" >> "${GITHUB_OUTPUT}"
fi
# --- `terraform fmt`
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/templates/terraform.pull_requests.plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ jobs:
run: |
# Setup `workdir` suffix used to give more information during execution
if [[ '${{ inputs.terraform_workdir }}' == '.' ]]; then
echo "workdir=" >> $GITHUB_OUTPUT
echo "workdir=" >> "${GITHUB_OUTPUT}"
else
echo "workdir=(${{ inputs.terraform_workdir }})" >> $GITHUB_OUTPUT
echo "workdir=(${{ inputs.terraform_workdir }})" >> "${GITHUB_OUTPUT}"
fi
if [[ '${{ inputs.after_lint }}' == 'true' ]]; then
echo 'lint_fmt_success="- [x] :paintbrush: Check if all Terraform configuration files are in a canonical format"' >> $GITHUB_OUTPUT
echo 'lint_val_success="- [x] :hammer_and_wrench: Validate the configuration files"' >> $GITHUB_OUTPUT
echo 'lint_fmt_success="- [x] :paintbrush: Check if all Terraform configuration files are in a canonical format"' >> "${GITHUB_OUTPUT}"
echo 'lint_val_success="- [x] :hammer_and_wrench: Validate the configuration files"' >> "${GITHUB_OUTPUT}"
else
echo 'lint_fmt_success=""' >> $GITHUB_OUTPUT
echo 'lint_val_success=""' >> $GITHUB_OUTPUT
echo 'lint_fmt_success=""' >> "${GITHUB_OUTPUT}"
echo 'lint_val_success=""' >> "${GITHUB_OUTPUT}"
fi
# Import Terraform variables
Expand Down

0 comments on commit 08a2961

Please sign in to comment.