Commit c077d98
committed
[6.1] Fix macOS CI: trust microsoft/mssql-release tap for Homebrew 5.2+ (#4363)
Homebrew 5.2.0 made untrusted-tap enforcement the default. After
'brew update' pulls in the new version, 'brew install mssql-tools18'
is refused because the microsoft/mssql-release tap is untrusted.
Add 'brew trust microsoft/mssql-release' after 'brew update' to
explicitly trust the Microsoft tap (placed after update so the trust
command is available even on older runner images).
Add a fail-fast check after 'brew install mssql-tools18' to
immediately abort with a clear error if sqlcmd is not on PATH,
avoiding the 6-minute timeout loop.1 parent de9d465 commit c077d98
1 file changed
Lines changed: 11 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
39 | 50 | | |
40 | 51 | | |
41 | 52 | | |
| |||
0 commit comments