fix: skip cache steps when SKIP_WORKFLOW is true (#2634)

This commit is contained in:
Viktor Scharf
2026-05-03 21:28:04 +02:00
committed by GitHub
parent 3e5f3844ad
commit ab67a8eff9
+1 -6
View File
@@ -893,8 +893,7 @@ def scanOpencloud(ctx):
def buildOpencloudBinaryForTesting(ctx):
pipeline = {
"name": "build-opencloud-for-testing",
"steps": skipCheckStep(ctx, "base") +
makeNodeGenerate("") +
"steps": makeNodeGenerate("") +
makeGoGenerate("") +
build() +
rebuildBuildArtifactCache(ctx, dirs["opencloudBinArtifact"], dirs["opencloudBinPath"]),
@@ -905,10 +904,6 @@ def buildOpencloudBinaryForTesting(ctx):
],
"workspace": workspace,
}
prefixStepCommands(pipeline, [
". ./.woodpecker.env",
'[ "$SKIP_WORKFLOW" = "true" ] && exit 0',
])
return [pipeline]
def vendorbinCodestyle(phpVersion):