mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-05-03 05:08:35 +02:00
Re-enable cache-cleanup on Windows
This commit is contained in:
parent
8be955ee80
commit
82bc72e1e7
2 changed files with 2 additions and 9 deletions
|
@ -48,14 +48,7 @@ export function isCacheDebuggingEnabled(): boolean {
|
|||
}
|
||||
|
||||
export function isCacheCleanupEnabled(): boolean {
|
||||
const userEnabled = core.getBooleanInput(CACHE_CLEANUP_ENABLED_PARAMETER)
|
||||
|
||||
if (userEnabled && process.platform === 'win32') {
|
||||
core.warning('Cache cleanup is not yet supported on Windows')
|
||||
return false
|
||||
}
|
||||
|
||||
return userEnabled
|
||||
return core.getBooleanInput(CACHE_CLEANUP_ENABLED_PARAMETER)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue