From b2803c38ef8eb6fff8db5f1a230de99ffaca75c0 Mon Sep 17 00:00:00 2001 From: Simone Date: Thu, 21 May 2026 00:34:19 +0200 Subject: [PATCH] fix: correct order of arguments for template path in local CI build action --- .gitea/actions/local-ci-build/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/actions/local-ci-build/action.yml b/.gitea/actions/local-ci-build/action.yml index ae1b741..3e9b990 100644 --- a/.gitea/actions/local-ci-build/action.yml +++ b/.gitea/actions/local-ci-build/action.yml @@ -333,10 +333,10 @@ runs: '--guest-artifact-source', $env:INPUT_ARTIFACT_SOURCE, '--guest-os', $resolvedGuestOS, '--configuration', $env:INPUT_CONFIGURATION, - '--template-path', $resolvedTemplatePath, '--snapshot-name', $resolvedSnapshotName ) - if ($repoCommit) { $pyArgs += @('--commit', $repoCommit) } + if ($resolvedTemplatePath) { $pyArgs += @('--template-path', $resolvedTemplatePath) } + if ($repoCommit) { $pyArgs += @('--commit', $repoCommit) } # Submodules and transport default to ON; pass the explicit # negative flag when the caller opted out so the Python default