From 166efda770c8a88a4de1214127b74c52ef4f9d75 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Tue, 28 Jun 2022 10:38:41 +0200 Subject: [PATCH] stop on error --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index c042402..4465d46 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,7 @@ steps: commands: - | pwsh -NonInteractive -c "& { + $ErrorActionPreference = 'Stop'; Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies; Invoke-Linter @@ -32,6 +33,7 @@ steps: commands: - | pwsh -NonInteractive -c "& { + $ErrorActionPreference = 'Stop'; Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies; Invoke-UnitTest -Verbosity 'Detailed'