Install icon indicating copy to clipboard operation
Install copied to clipboard

Abort when failing installation on CI

Open bersbersbers opened this issue 2 years ago • 0 comments

Description

I run iex "& {$(irm get.scoop.sh)} -RunAsAdmin" in my GitLab CI.

The job continues even if scoop installation fails.

Possible Solution

Add an option to exit here, regardless of $IS_EXECUTED_FROM_IEX:

https://github.com/ScoopInstaller/Install/blob/656e17b67e8468edc5c5bd51bdad55642a03d9a4/install.ps1#L100-L105

bersbersbers avatar Nov 08 '23 13:11 bersbersbers