Skip to content

Commit

Permalink
Only save the cache if there was no hit or need to install
Browse files Browse the repository at this point in the history
  • Loading branch information
KocsisV committed Aug 30, 2023
1 parent dfb1140 commit d787550
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ runs:
- name: Cache the IncQuery Validator for Enterprise Architect installer
id: cache-installer-save
if: ${{ ( steps.cache-installer-restore.outputs.cache-hit != 'true' ) && ( steps.validator-state.outputs.need_to_install == 'true' ) }}
uses: actions/cache/save@v3
with:
path: ${{ steps.validator-state.outputs.installer_path }}
Expand Down

0 comments on commit d787550

Please sign in to comment.