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:
ethernet
2026-08-11 14:01:22 -04:00
parent 2a906ac6a0
commit e8bdb6933e
2 changed files with 9 additions and 7 deletions
@@ -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