Skip to content

Commit

Permalink
Enable caching again
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentaTomas committed Oct 15, 2023
1 parent 913f23d commit 418f0d2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ jobs:
with:
terraform_version: 1.1.9

# - name: Config Terraform plugin cache
# run: |
# echo 'plugin_cache_dir="$HOME/.terraform.d/plugin-cache"' >~/.terraformrc
# mkdir --parents ~/.terraform.d/plugin-cache

# - name: Cache Terraform
# uses: actions/cache@v3
# with:
# path: |
# ~/.terraform.d/plugin-cache
# key: ${{ runner.os }}-terraform-${{ hashFiles('**/.terraform.lock.hcl') }}
# restore-keys: |
# ${{ runner.os }}-terraform-
- name: Config Terraform plugin cache
run: |
echo 'plugin_cache_dir="$HOME/.terraform.d/plugin-cache"' >~/.terraformrc
mkdir --parents ~/.terraform.d/plugin-cache
- name: Cache Terraform
uses: actions/cache@v3
with:
path: |
~/.terraform.d/plugin-cache
key: ${{ runner.os }}-terraform-${{ hashFiles('**/.terraform.lock.hcl') }}
restore-keys: |
${{ runner.os }}-terraform-
- name: Init Terraform
run: make init
Expand Down

0 comments on commit 418f0d2

Please sign in to comment.