fix: correct order of arguments for template path in local CI build action
This commit is contained in:
@@ -333,10 +333,10 @@ runs:
|
|||||||
'--guest-artifact-source', $env:INPUT_ARTIFACT_SOURCE,
|
'--guest-artifact-source', $env:INPUT_ARTIFACT_SOURCE,
|
||||||
'--guest-os', $resolvedGuestOS,
|
'--guest-os', $resolvedGuestOS,
|
||||||
'--configuration', $env:INPUT_CONFIGURATION,
|
'--configuration', $env:INPUT_CONFIGURATION,
|
||||||
'--template-path', $resolvedTemplatePath,
|
|
||||||
'--snapshot-name', $resolvedSnapshotName
|
'--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
|
# Submodules and transport default to ON; pass the explicit
|
||||||
# negative flag when the caller opted out so the Python default
|
# negative flag when the caller opted out so the Python default
|
||||||
|
|||||||
Reference in New Issue
Block a user