Skip to content

Commit 814b105

Browse files
committed
fix action format
1 parent 11d68c4 commit 814b105

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

action.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -379,17 +379,13 @@ runs:
379379
NO_BACKEND: ${{ inputs.no-backend }}
380380
DEBUG: 'true'
381381
# if terraform-cache-dir is set then we set it to that otherwise set it to '${{github.workspace}}/cache'
382-
TF_PLUGIN_CACHE_DIR: ${{
383-
inputs.terraform-cache-dir == '' &&
382+
TF_PLUGIN_CACHE_DIR: ${{ inputs.terraform-cache-dir == '' &&
384383
format('{0}/cache', github.workspace) ||
385-
inputs.terraform-cache-dir
386-
}}
384+
inputs.terraform-cache-dir }}
387385
TERRAGRUNT_PROVIDER_CACHE: ${{ inputs.cache-dependencies == 'true' && 1 || 0 }}
388-
TERRAGRUNT_PROVIDER_CACHE_DIR: ${{
389-
inputs.terragrunt-cache-dir == '' &&
386+
TERRAGRUNT_PROVIDER_CACHE_DIR: ${{ inputs.terragrunt-cache-dir == '' &&
390387
format('{0}/cache', github.workspace) ||
391-
inputs.terragrunt-cache-dir
392-
}}
388+
inputs.terragrunt-cache-dir }}
393389
DIGGER_RUN_SPEC: ${{inputs.digger-spec}}
394390
run: |
395391
if [[ ${{ inputs.ee }} == "true" ]]; then
@@ -426,18 +422,14 @@ runs:
426422
INPUT_DRIFT_DETECTION_SLACK_NOTIFICATION_URL: ${{ inputs.drift-detection-slack-notification-url }}
427423
NO_BACKEND: ${{ inputs.no-backend }}
428424
# if terraform-cache-dir is set then we set it to that otherwise set it to '${{github.workspace}}/cache'
429-
TF_PLUGIN_CACHE_DIR: ${{
430-
inputs.terraform-cache-dir == '' &&
425+
TF_PLUGIN_CACHE_DIR: ${{ inputs.terraform-cache-dir == '' &&
431426
format('{0}/cache', github.workspace) ||
432-
inputs.terraform-cache-dir
433-
}}
427+
inputs.terraform-cache-dir }}
434428
TERRAGRUNT_PROVIDER_CACHE: ${{ inputs.cache-dependencies == 'true' && 1 || 0 }}
435429
# if terragrunt-cache-dir is set then we set it to that otherwise set it to '${{github.workspace}}/cache'
436-
TERRAGRUNT_PROVIDER_CACHE_DIR: ${{
437-
inputs.terragrunt-cache-dir == '' &&
430+
TERRAGRUNT_PROVIDER_CACHE_DIR: ${{ inputs.terragrunt-cache-dir == '' &&
438431
format('{0}/cache', github.workspace) ||
439-
inputs.terragrunt-cache-dir
440-
}}
432+
inputs.terragrunt-cache-dir }}
441433
DIGGER_RUN_SPEC: ${{inputs.digger-spec}}
442434
id: digger
443435
shell: bash

0 commit comments

Comments
 (0)