Revert "fix: remove unused build cache capture"

This reverts commit 4a9e9e0508.
This commit is contained in:
Torsten Dittmann committed 2026-06-17 15:26:35 +04:00
1 parent 53b2dea124
commit c7c17862fd
1 file changed
+1 -1
@@ -704,7 +704,7 @@ class Builds extends Action
$span = Span::current();
Co::join([
Co\go(function () use ($executor, &$response, $project, $deployment, $source, $resource, $runtime, $vars, $command, $cpus, $memory, $timeout, &$err, $version, $span) {
Co\go(function () use ($executor, &$response, $project, $deployment, $source, $resource, $runtime, $vars, $command, $cacheKey, $cpus, $memory, $timeout, &$err, $version, $span) {
try {
if ($version === 'v2') {
$command = 'tar -zxf /tmp/code.tar.gz -C /usr/code && cd /usr/local/src/ && ./build.sh';