fix(action): fix bash globbing when there are no results
This commit is contained in:
parent
193a610536
commit
3d0d06b89f
3 changed files with 8 additions and 2 deletions
|
@ -45,7 +45,7 @@ runs:
|
|||
run: |
|
||||
unset GITHUB_TOKEN
|
||||
export AWS_CONFIG_FILE="$(pwd)/aws_config"
|
||||
shopt -s globstar
|
||||
shopt -s globstar nullglob
|
||||
for lockfile in **/.terraform.lock.hcl; do
|
||||
(cd "$(dirname "$lockfile")"; tofu init; tofu providers lock -platform=linux_amd64)
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue