Skip to content

Commit 07af70b

Browse files
authored
[CI] Set ErrorActionPreference in powershell script (#25778)
Fixes: #25777
1 parent 5e3670d commit 07af70b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ commands:
452452
name: download firefox
453453
shell: powershell.exe -ExecutionPolicy Bypass
454454
command: |
455+
$ErrorActionPreference = 'Stop'
456+
455457
# To download Firefox, we must first figure out what the latest Firefox version name is.
456458
# This is because there does not exist a stable/static URL to download latest Firefox from.
457459
$html = Invoke-WebRequest "https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/"

0 commit comments

Comments
 (0)