mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Add $ErrorActionPreference = 'Stop' to fail the build
This commit is contained in:
1 parent
80b6b7e809
commit
d25cdffcfc
1 file changed
+2
@@ -22,6 +22,7 @@ install:
|
||||
|
||||
build_script:
|
||||
- ps: |
|
||||
$ErrorActionPreference = 'Stop'
|
||||
Import-Module .\PowerShellGitHubDev.psm1
|
||||
Start-PSBuild -Publish
|
||||
Start-PSBuild -FullCLR
|
||||
@@ -62,6 +63,7 @@ test_script:
|
||||
|
||||
on_finish:
|
||||
- ps: |
|
||||
$ErrorActionPreference = 'Stop'
|
||||
# Creating project artifact
|
||||
$name = git describe
|
||||
$zipFilePath = Join-Path $pwd "$name.zip"
|
||||
|
||||
Reference in new issue
Block a user