Skip to content

Commit

Permalink
gh: NO_CACHE if too many deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Oct 26, 2023
1 parent c9a3238 commit ca0ac55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
list-files: shell
- name: Restore from cache
env:
NO_CACHE: ${{ steps.cache.outputs.no-cache }}
NO_CACHE: ${{ steps.cache.outputs.no-cache || steps.cache.outputs.deleted_count > 20 }}
BOOTSTRAP: ${{ steps.cache.outputs.bootstrap }}
CONFIGURE: ${{ steps.cache.outputs.configure }}
EVENT: ${{ github.event_name }}
Expand Down

0 comments on commit ca0ac55

Please sign in to comment.