Skip to content

Commit

Permalink
feat: Add terraform cache
Browse files Browse the repository at this point in the history
  • Loading branch information
pasqualedevita committed Jan 6, 2023
1 parent fbb7f3d commit d1a2bd9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ runs:
tenant-id: ${{ inputs.tenant_id }}
subscription-id: ${{ inputs.subscription_id }}

- name: Cache terraform modules
id: cache-terraform-modules
uses: actions/cache@6fd2d4538ca777f67fccddb233cf1a8ff1339012
with:
path: ${{ inputs.dir }}/.terraform
key: terraform-${{ inputs.dir }}

- name: Terraform plan
shell: bash
run: |
Expand Down

0 comments on commit d1a2bd9

Please sign in to comment.