Prefix cache key with protocol version
Some checks are pending
Verify generated outputs / check (push) Waiting to run
Test different action inputs / action-inputs (push) Waiting to run
Test caching / seed-build (macos-latest) (push) Waiting to run
Test caching / seed-build (ubuntu-latest) (push) Waiting to run
Test caching / seed-build (windows-latest) (push) Waiting to run
Test caching / dependencies-cache (macos-latest) (push) Blocked by required conditions
Test caching / dependencies-cache (ubuntu-latest) (push) Blocked by required conditions
Test caching / dependencies-cache (windows-latest) (push) Blocked by required conditions
Test caching / build-cache (macos-latest) (push) Blocked by required conditions
Test caching / build-cache (ubuntu-latest) (push) Blocked by required conditions
Test caching / build-cache (windows-latest) (push) Blocked by required conditions
Test caching / configuration-cache (macos-latest) (push) Blocked by required conditions
Test caching / configuration-cache (ubuntu-latest) (push) Blocked by required conditions
Test caching / configuration-cache (windows-latest) (push) Blocked by required conditions
Test caching / no-bundles-restored (push) Blocked by required conditions
Test Gradle execution / gradle-execution (macos-latest) (push) Waiting to run
Test Gradle execution / gradle-execution (ubuntu-latest) (push) Waiting to run
Test Gradle execution / gradle-execution (windows-latest, .bat) (push) Waiting to run
Test Gradle execution / gradle-versions (macos-latest) (push) Waiting to run
Test Gradle execution / gradle-versions (ubuntu-latest) (push) Waiting to run
Test Gradle execution / gradle-versions (windows-latest, .bat) (push) Waiting to run
Test caching with a custom GRADLE_USER_HOME / seed-build (push) Waiting to run
Test caching with a custom GRADLE_USER_HOME / dependencies-cache (push) Blocked by required conditions
Test caching with a custom GRADLE_USER_HOME / build-cache (push) Blocked by required conditions
Test caching with Kotlin DSL / seed-build (push) Waiting to run
Test caching with Kotlin DSL / verify-build (push) Blocked by required conditions
Some checks are pending
Verify generated outputs / check (push) Waiting to run
Test different action inputs / action-inputs (push) Waiting to run
Test caching / seed-build (macos-latest) (push) Waiting to run
Test caching / seed-build (ubuntu-latest) (push) Waiting to run
Test caching / seed-build (windows-latest) (push) Waiting to run
Test caching / dependencies-cache (macos-latest) (push) Blocked by required conditions
Test caching / dependencies-cache (ubuntu-latest) (push) Blocked by required conditions
Test caching / dependencies-cache (windows-latest) (push) Blocked by required conditions
Test caching / build-cache (macos-latest) (push) Blocked by required conditions
Test caching / build-cache (ubuntu-latest) (push) Blocked by required conditions
Test caching / build-cache (windows-latest) (push) Blocked by required conditions
Test caching / configuration-cache (macos-latest) (push) Blocked by required conditions
Test caching / configuration-cache (ubuntu-latest) (push) Blocked by required conditions
Test caching / configuration-cache (windows-latest) (push) Blocked by required conditions
Test caching / no-bundles-restored (push) Blocked by required conditions
Test Gradle execution / gradle-execution (macos-latest) (push) Waiting to run
Test Gradle execution / gradle-execution (ubuntu-latest) (push) Waiting to run
Test Gradle execution / gradle-execution (windows-latest, .bat) (push) Waiting to run
Test Gradle execution / gradle-versions (macos-latest) (push) Waiting to run
Test Gradle execution / gradle-versions (ubuntu-latest) (push) Waiting to run
Test Gradle execution / gradle-versions (windows-latest, .bat) (push) Waiting to run
Test caching with a custom GRADLE_USER_HOME / seed-build (push) Waiting to run
Test caching with a custom GRADLE_USER_HOME / dependencies-cache (push) Blocked by required conditions
Test caching with a custom GRADLE_USER_HOME / build-cache (push) Blocked by required conditions
Test caching with Kotlin DSL / seed-build (push) Waiting to run
Test caching with Kotlin DSL / verify-build (push) Blocked by required conditions
This will ensure that incompatiblee cache entries generated by previous action releases will not be used.
This commit is contained in:
parent
0eb5996567
commit
263f84178a
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/main/index.js.map
vendored
2
dist/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/post/index.js
vendored
2
dist/post/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -18,8 +18,8 @@ export function isCacheDebuggingEnabled(): boolean {
|
||||
}
|
||||
|
||||
function generateCacheKey(cacheName: string): CacheKey {
|
||||
// Prefix can be used to force change all cache keys
|
||||
const cacheKeyPrefix = process.env['CACHE_KEY_PREFIX'] || ''
|
||||
// Prefix can be used to force change all cache keys (defaults to cache protocol version)
|
||||
const cacheKeyPrefix = process.env['CACHE_KEY_PREFIX'] || 'v2-'
|
||||
|
||||
// At the most general level, share caches for all executions on the same OS
|
||||
const runnerOs = process.env['RUNNER_OS'] || ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user