Skip to content

Commit 86cac11

Browse files
committed
[fix] empty GITHUB_OUTPUT
1 parent 9d9ff27 commit 86cac11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

actions/aws-terraform-runner/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ runs:
247247
run: |
248248
set -euo pipefail
249249
250-
WORKSPACE="${{ steps.collect.outputs.workspace }}"
250+
WS="${{ inputs.tf_workspace != '' && inputs.tf_workspace || steps.collect.outputs.workspace }}"
251251
TFV="${{ steps.collect.outputs.terraform_version }}"
252252
253253
LIMIT_RAW="${{ inputs.summary_limit }}"
@@ -257,7 +257,7 @@ runs:
257257
echo "## 🛠️ Terraform Execution Summary"
258258
echo "- **Command:** \`${{ inputs.tf_command }}\`"
259259
echo "- **Directory:** \`${{ inputs.tf_dir }}\`"
260-
echo "- **Workspace:** \`$WORKSPACE\`"
260+
echo "- **Workspace:** \`$WS\`"
261261
echo "- **Terraform version:** \`$TFV\`"
262262
echo "- **Backend:** S3 \`${{ inputs.backend_bucket }}:${{ inputs.backend_key }}\`"
263263
echo " in \`${{ inputs.backend_region }}\`"

0 commit comments

Comments
 (0)