We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d97b58 commit 4168ae1Copy full SHA for 4168ae1
.github/workflows/validate.yml
@@ -94,9 +94,18 @@ jobs:
94
run: |
95
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
96
brew update
97
- echo YES | ACCEPT_EULA=Y brew install msodbcsql18 mssql-tools18
+ # Install expect if not present
98
+ if ! command -v expect &> /dev/null; then
99
+ brew install expect
100
+ fi
101
+ expect -c '
102
+ spawn brew install msodbcsql18 mssql-tools18
103
+ expect "Do you accept the license terms? (Enter YES or NO)"
104
+ send "YES\r"
105
+ expect eof
106
+ '
107
+
108
echo 'export PATH="$PATH:/usr/local/bin"' >> ~/.bash_profile
- source ~/.bash_profile
109
# Windows
110
- name: Install ODBC driver (Windows)
111
if: runner.os == 'Windows'
0 commit comments