Skip to content

Commit

Permalink
Install mssql-tools18 in GitHub action and use -C to trust server cer…
Browse files Browse the repository at this point in the history
…tificate
  • Loading branch information
filiphr committed Jan 14, 2025
1 parent 215b9cc commit 4515d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/scripts/prepare-mssql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ sudo su
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
echo "Installing mssql-tools"
sudo apt-get update
sudo apt-get install mssql-tools unixodbc-dev
sudo apt-get install mssql-tools18 unixodbc-dev

echo "Creating database and user"
/opt/mssql-tools/bin/sqlcmd -S ${MSSQL_HOST},${MSSQL_PORT} -U sa -P flowableStr0ngPassword -l 120 -i ./.github/actions/scripts/init-mssql.sql
/opt/mssql-tools18/bin/sqlcmd -S ${MSSQL_HOST},${MSSQL_PORT} -U sa -P flowableStr0ngPassword -C -l 120 -i ./.github/actions/scripts/init-mssql.sql

if [ $? -ne 0 ]
then
Expand Down

0 comments on commit 4515d6c

Please sign in to comment.