Skip to content

Commit

Permalink
fix(terraform): only cache plugins after successful run
Browse files Browse the repository at this point in the history
  • Loading branch information
hknutsen committed Nov 19, 2024
1 parent 992312d commit cc9f978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ jobs:
retention-days: 35

- name: Cache Terraform plugins
if: always() && steps.cache-restore.outputs.cache-hit != 'true'
if: steps.cache-restore.outputs.cache-hit != 'true'
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a
with:
path: ${{ steps.mkdir.outputs.plugin-cache-dir }}
Expand Down

0 comments on commit cc9f978

Please sign in to comment.