Unverified Commit 82bc72e1 authored by Daz DeBoer's avatar Daz DeBoer
Browse files

Re-enable cache-cleanup on Windows

parent 8be955ee
Loading
Loading
Loading
Loading
+1 −1
Changes for .github/workflows/integ-test-cache-cleanup.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ on:
        type: string
      runner-os:
        type: string
        default: '["ubuntu-latest", "macos-latest"]' # Windows is not yet supported
        default: '["ubuntu-latest", "windows-latest", "macos-latest"]'
      download-dist:
        type: boolean
        default: false
+1 −8
Changes for src/cache-utils.ts: 1 added line, 8 removed lines.
Original line number Diff line number Diff line
@@ -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)
}

/**