create the terraform cache dir first

This commit is contained in:
E M 2026-04-24 17:11:54 +10:00
parent 0839bd0301
commit 93fc629706
No known key found for this signature in database

View File

@ -223,6 +223,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Create Terraform plugin cache dir
run: mkdir -p ~/.terraform.d/plugin-cache
- name: Cache Terraform plugins
uses: actions/cache@v4
with:
@ -230,9 +233,6 @@ jobs:
key: terraform-google-${{ hashFiles(format('{0}/.terraform.lock.hcl', env.TF_DIR)) }}
restore-keys: terraform-google-
- name: Create Terraform plugin cache dir
run: mkdir -p ~/.terraform.d/plugin-cache
- name: Authenticate to GCP
uses: google-github-actions/auth@v2
with: