mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-30 20:23:26 -04:00
fix: skip cache steps when SKIP_WORKFLOW is true
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user