Skip to content

Commit

Permalink
test(ci): disable gradle cache on windows runner
Browse files Browse the repository at this point in the history
this may hopefully be reverted in the future but right now there
are persistent cache corruption issues with gradle caching on windows
involving part of immutable cache being mutated
  • Loading branch information
mikehardy committed Feb 15, 2024
1 parent 40bfa67 commit 6768519
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ jobs:
# Comment this and the with: above out for performance testing on a branch
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
gradle-home-cache-cleanup: true
# Windows runner currently having cache pollution issues, disable cache for the platform
cache-disabled: ${{ contains(matrix.os, 'windows') }}

- name: Clear Caches Optionally
if: "${{ github.event.inputs.clearCaches != '' }}"
Expand Down

0 comments on commit 6768519

Please sign in to comment.