Commit 8e89023
authored
GH Actions: fail "setup-php" if requested tooling/extensions could not be installed (#5714)
Setup-PHP will normally "gracefully" show a warning and not fail the build when an extension or tool failed to install.
In most cases, this is not particularly useful as that means that either there will be a failure later on in the build due to the extension or tool missing, or the build will not be representative of what is supposed to be run/tested.
This commit changes this behaviour to fail the build at the `setup-php` step, which also makes debugging these type of build failures much more straight-forward.
Ref: https://github.com/shivammathur/setup-php?tab=readme-ov-file#fail-fast-optional
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>1 parent 22ca944 commit 8e89023
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
0 commit comments