You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/swift_package_test.yml
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -97,10 +97,7 @@ on:
97
97
default: ""
98
98
windows_build_command:
99
99
type: string
100
-
description: |
101
-
Windows Command Prompt command to build and test the package.
102
-
Note that Powershell does not automatically exit if a subcommand fails. The Invoke-Program utility is available to propagate non-zero exit codes.
103
-
It is strongly encouraged to run all command using `Invoke-Program` unless you want to continue on error eg. `Invoke-Program git apply patch.diff` instead of `git apply patch.diff`.
100
+
description: "Windows Command Prompt command to build and test the package"
104
101
default: "swift test"
105
102
macos_env_vars:
106
103
description: "Newline separated list of environment variables"
@@ -386,6 +383,8 @@ jobs:
386
383
mkdir $env:TEMP\test-script
387
384
echo @'
388
385
Set-PSDebug -Trace 1
386
+
$ErrorActionPreference = 'Stop'
387
+
389
388
if ("${{ inputs.enable_windows_docker }}" -eq "true") {
0 commit comments