fix(windows-e2e): 'auto' sentinel for install-ref - powershell -File eats empty-string args
Run 31520267702 died in 3s: 'Missing an argument for parameter InstallRef'. powershell.exe -File drops a "" argument from the command line entirely, so the parameter binder saw -InstallRef followed by -SetupExeUrl. Default both the workflow input and the script parameter to 'auto' (= newest release tag) instead of empty.
This commit is contained in:
@@ -41,10 +41,10 @@ on:
|
||||
type: string
|
||||
default: desktop
|
||||
install-ref:
|
||||
description: 'Ref to install as OLD (served as main while the installer runs). Empty = the newest release tag in the checkout.'
|
||||
description: 'Ref to install as OLD (served as main while the installer runs). auto = the newest release tag in the checkout.'
|
||||
required: false
|
||||
type: string
|
||||
default: ''
|
||||
default: auto
|
||||
setup-exe-url:
|
||||
description: 'Bootstrap installer to install OLD with. Default: the latest published one — what a user downloads today.'
|
||||
required: false
|
||||
|
||||
Reference in New Issue
Block a user