Loading .github/workflows/integTest-caching-config.yml +2 −2 Changes for .github/workflows/integTest-caching-config.yml: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ jobs: gradle-home-cache-artifact-bundles: | [ ["generated-gradle-jars", "caches/*/generated-gradle-jars/*.jar"], ["dependency-jars", "caches/modules-*/files-*/**/*.jar"], ["dependencies", "caches/modules-*/files-*/*/*/*/*/"], ["instrumented-jars", "caches/jars-*/*/"], ["kotlin-dsl", "caches/*/kotlin-dsl/*/*/"] ] Loading Loading @@ -67,7 +67,7 @@ jobs: gradle-home-cache-artifact-bundles: | [ ["generated-gradle-jars", "caches/*/generated-gradle-jars/*.jar"], ["dependency-jars", "caches/modules-*/files-*/**/*.jar"], ["dependencies", "caches/modules-*/files-*/*/*/*/*/"], ["instrumented-jars", "caches/jars-*/*/"], ["kotlin-dsl", "caches/*/kotlin-dsl/*/*/"] ] Loading action.yml +1 −1 Changes for action.yml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ inputs: [ ["generated-gradle-jars", "caches/*/generated-gradle-jars/*.jar"], ["wrapper-zips", "wrapper/dists/*/*/*.zip"], ["dependency-jars", "caches/modules-*/files-*/**/*.jar"], ["dependencies", "caches/modules-*/files-*/*/*/*/*/"], ["instrumented-jars", "caches/jars-*/*/"], ["kotlin-dsl", "caches/*/kotlin-dsl/*/*/"] ] Loading src/cache-utils.ts +3 −1 Changes for src/cache-utils.ts: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ import * as crypto from 'crypto' import * as path from 'path' import * as fs from 'fs' const CACHE_PROTOCOL_VERSION = 'v4-' const CACHE_DISABLED_PARAMETER = 'cache-disabled' const CACHE_READONLY_PARAMETER = 'cache-read-only' const JOB_CONTEXT_PARAMETER = 'workflow-job-context' Loading @@ -25,7 +27,7 @@ export function isCacheDebuggingEnabled(): boolean { export function getCacheKeyPrefix(): string { // Prefix can be used to force change all cache keys (defaults to cache protocol version) return process.env[CACHE_PREFIX_VAR] || 'v3-' return process.env[CACHE_PREFIX_VAR] || CACHE_PROTOCOL_VERSION } function generateCacheKey(cacheName: string): CacheKey { Loading Loading
.github/workflows/integTest-caching-config.yml +2 −2 Changes for .github/workflows/integTest-caching-config.yml: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ jobs: gradle-home-cache-artifact-bundles: | [ ["generated-gradle-jars", "caches/*/generated-gradle-jars/*.jar"], ["dependency-jars", "caches/modules-*/files-*/**/*.jar"], ["dependencies", "caches/modules-*/files-*/*/*/*/*/"], ["instrumented-jars", "caches/jars-*/*/"], ["kotlin-dsl", "caches/*/kotlin-dsl/*/*/"] ] Loading Loading @@ -67,7 +67,7 @@ jobs: gradle-home-cache-artifact-bundles: | [ ["generated-gradle-jars", "caches/*/generated-gradle-jars/*.jar"], ["dependency-jars", "caches/modules-*/files-*/**/*.jar"], ["dependencies", "caches/modules-*/files-*/*/*/*/*/"], ["instrumented-jars", "caches/jars-*/*/"], ["kotlin-dsl", "caches/*/kotlin-dsl/*/*/"] ] Loading
action.yml +1 −1 Changes for action.yml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ inputs: [ ["generated-gradle-jars", "caches/*/generated-gradle-jars/*.jar"], ["wrapper-zips", "wrapper/dists/*/*/*.zip"], ["dependency-jars", "caches/modules-*/files-*/**/*.jar"], ["dependencies", "caches/modules-*/files-*/*/*/*/*/"], ["instrumented-jars", "caches/jars-*/*/"], ["kotlin-dsl", "caches/*/kotlin-dsl/*/*/"] ] Loading
src/cache-utils.ts +3 −1 Changes for src/cache-utils.ts: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ import * as crypto from 'crypto' import * as path from 'path' import * as fs from 'fs' const CACHE_PROTOCOL_VERSION = 'v4-' const CACHE_DISABLED_PARAMETER = 'cache-disabled' const CACHE_READONLY_PARAMETER = 'cache-read-only' const JOB_CONTEXT_PARAMETER = 'workflow-job-context' Loading @@ -25,7 +27,7 @@ export function isCacheDebuggingEnabled(): boolean { export function getCacheKeyPrefix(): string { // Prefix can be used to force change all cache keys (defaults to cache protocol version) return process.env[CACHE_PREFIX_VAR] || 'v3-' return process.env[CACHE_PREFIX_VAR] || CACHE_PROTOCOL_VERSION } function generateCacheKey(cacheName: string): CacheKey { Loading