Skip to content

Commit

Permalink
Publish release from bbff155
Browse files Browse the repository at this point in the history
  • Loading branch information
vlsi committed Mar 8, 2021
1 parent ed5fd9a commit a61b505
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/cache-action-entrypoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -33250,7 +33250,7 @@
void 0 === multiCacheEnabled && (multiCacheEnabled = !0), void 0 === multiCacheVersion && (multiCacheVersion = "1.0"),
void 0 === multiCacheRepository && (multiCacheRepository = ""), void 0 === multiCacheGroupIdFilter && (multiCacheGroupIdFilter = "com[.]github[.]burrunan[.]multi-?cache");
var multiCacheGroupIdFilterEscaped = replace(multiCacheGroupIdFilter, "\\", "\\\\");
return trimIndent("\n def pluginId = 'com.github.burrunan.multi-cache'\n def multiCacheVersion = '1.0'\n def multiCacheGroupIdFilter = 'com[.]github[.]burrunan[.]multi-?cache'\n boolean multiCacheEnabled = " + multiCacheEnabled + "\n String multiCacheRepository = '" + multiCacheRepository + "'\n beforeSettings { settings ->\n if (!multiCacheEnabled) {\n return\n }\n def repos = settings.buildscript.repositories\n if (multiCacheRepository != '') {\n repos.add(\n repos.maven {\n url = multiCacheRepository\n if ('" + multiCacheGroupIdFilterEscaped + "' != '') {\n content {\n includeGroupByRegex('" + multiCacheGroupIdFilterEscaped + "')\n }\n }\n }\n )\n } else if (repos.isEmpty()) {\n repos.add(repos.gradlePluginPortal())\n }\n settings.buildscript.dependencies {\n classpath(\"" + this.pluginId_0 + ":" + this.pluginId_0 + ".gradle.plugin:" + multiCacheVersion + '")\n }\n }\n\n settingsEvaluated { settings ->\n settings.buildCache {\n boolean needMulticache = remote != null\n if (needMulticache && !multiCacheEnabled) {\n println("' + this.pluginId_0 + ' is disabled")\n return\n }\n\n local {\n enabled = true\n }\n if (needMulticache) {\n settings.pluginManager.apply("' + this.pluginId_0 + "\")\n settings.multicache.push('base')\n }\n remote(HttpBuildCache) {\n url = '" + toString(this.cacheUrl) + "'\n push = true\n // Build cache is located on localhost, so it is fine to use http protocol\n if (org.gradle.util.GradleVersion.current() >= org.gradle.util.GradleVersion.version('6.0')) {\n allowInsecureProtocol = true\n }\n }\n if (needMulticache) {\n settings.multicache.pushAndConfigure('actions-cache') {\n loadSequentiallyWriteConcurrently('actions-cache', 'base')\n }\n }\n }\n }\n ");
return trimIndent("\n def pluginId = 'com.github.burrunan.multi-cache'\n def multiCacheVersion = '1.0'\n def multiCacheGroupIdFilter = 'com[.]github[.]burrunan[.]multi-?cache'\n boolean multiCacheEnabled = " + multiCacheEnabled + "\n String multiCacheRepository = '" + multiCacheRepository + "'\n boolean gradle6Plus = org.gradle.util.GradleVersion.current() >= org.gradle.util.GradleVersion.version('6.0')\n // beforeSettings is Gradle 6.0+\n if (multiCacheEnabled && !gradle6Plus) {\n println(\"Multiple remote build caches (" + this.pluginId_0 + ") are supported in Gradle 6.0+ only\")\n multiCacheEnabled = false\n }\n if (multiCacheEnabled) {\n beforeSettings { settings ->\n def repos = settings.buildscript.repositories\n if (multiCacheRepository != '') {\n repos.add(\n repos.maven {\n url = multiCacheRepository\n if ('" + multiCacheGroupIdFilterEscaped + "' != '') {\n content {\n includeGroupByRegex('" + multiCacheGroupIdFilterEscaped + "')\n }\n }\n }\n )\n } else if (repos.isEmpty()) {\n repos.add(repos.gradlePluginPortal())\n }\n settings.buildscript.dependencies {\n classpath(\"" + this.pluginId_0 + ":" + this.pluginId_0 + ".gradle.plugin:" + multiCacheVersion + '")\n }\n }\n }\n\n settingsEvaluated { settings ->\n settings.buildCache {\n boolean needMulticache = remote != null\n if (needMulticache && !multiCacheEnabled) {\n println("' + this.pluginId_0 + ' is disabled")\n return\n }\n\n local {\n enabled = true\n }\n if (needMulticache) {\n settings.pluginManager.apply("' + this.pluginId_0 + "\")\n settings.multicache.push('base')\n }\n remote(HttpBuildCache) {\n url = '" + toString(this.cacheUrl) + "'\n push = true\n // Build cache is located on localhost, so it is fine to use http protocol\n if (gradle6Plus) {\n allowInsecureProtocol = true\n }\n }\n if (needMulticache) {\n settings.multicache.pushAndConfigure('actions-cache') {\n loadSequentiallyWriteConcurrently('actions-cache', 'base')\n }\n }\n }\n }\n ");
}, Coroutine$start.$metadata$ = {
kind: Kotlin.Kind.CLASS,
simpleName: null,
Expand Down
2 changes: 1 addition & 1 deletion dist/cache-action-entrypoint.js.map

Large diffs are not rendered by default.

0 comments on commit a61b505

Please sign in to comment.