0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00

test(ci): re-enable gradle cache on Windows

temporarily disable `gradle-home-cache-cleanup`
and remove `cache-disabled`

As requested in https://redirect.github.com/gradle/actions/issues/167#issuecomment-2052352341

Reverts f9b7ee6818

Related: Issue 16161
This commit is contained in:
David Allison 2024-04-12 22:47:51 +01:00
parent f58160c1c2
commit 45fd3de90f

View File

@ -66,10 +66,9 @@ jobs:
# Builds on other branches will only read from main branch cache writes
# 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
# https://github.com/ankidroid/Anki-Android/issues/16161
cache-disabled: ${{ contains(matrix.os, 'windows') }}
# gradle-home-cache-cleanup is temporarily disabled to investigate cache pollution issues
# Requested in: https://github.com/gradle/actions/issues/167#issuecomment-2052352341
# gradle-home-cache-cleanup: true
- name: Clear Caches Optionally
if: "${{ github.event.inputs.clearCaches != '' }}"