From 6681b5a32592a86f4f53a072ded449d4c7ced55a Mon Sep 17 00:00:00 2001 From: Michael Kleehammer Date: Sun, 8 Sep 2024 11:53:18 -0500 Subject: [PATCH] Update sqlcmd path after install --- .github/workflows/ubuntu_build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ubuntu_build.yml b/.github/workflows/ubuntu_build.yml index 1f1359e9..42684ee2 100644 --- a/.github/workflows/ubuntu_build.yml +++ b/.github/workflows/ubuntu_build.yml @@ -126,14 +126,14 @@ jobs: - name: Create test databases in SQL Server run: | echo "*** SQL Server 2017" - docker exec -i "${{ job.services.mssql2017.id }}" /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'StrongPassword2017' -Q "SELECT @@VERSION" || sleep 5 - docker exec -i "${{ job.services.mssql2017.id }}" /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'StrongPassword2017' -Q "CREATE DATABASE test" + docker exec -i "${{ job.services.mssql2017.id }}" /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P 'StrongPassword2017' -Q "SELECT @@VERSION" || sleep 5 + docker exec -i "${{ job.services.mssql2017.id }}" /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P 'StrongPassword2017' -Q "CREATE DATABASE test" echo "*** SQL Server 2019" - docker exec -i "${{ job.services.mssql2019.id }}" /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'StrongPassword2019' -Q "SELECT @@VERSION" || sleep 5 - docker exec -i "${{ job.services.mssql2019.id }}" /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'StrongPassword2019' -Q "CREATE DATABASE test" + docker exec -i "${{ job.services.mssql2019.id }}" /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P 'StrongPassword2019' -Q "SELECT @@VERSION" || sleep 5 + docker exec -i "${{ job.services.mssql2019.id }}" /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P 'StrongPassword2019' -Q "CREATE DATABASE test" echo "*** SQL Server 2022" - docker exec -i "${{ job.services.mssql2022.id }}" /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'StrongPassword2022' -Q "SELECT @@VERSION" || sleep 5 - docker exec -i "${{ job.services.mssql2022.id }}" /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'StrongPassword2022' -Q "CREATE DATABASE test" + docker exec -i "${{ job.services.mssql2022.id }}" /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P 'StrongPassword2022' -Q "SELECT @@VERSION" || sleep 5 + docker exec -i "${{ job.services.mssql2022.id }}" /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P 'StrongPassword2022' -Q "CREATE DATABASE test" - name: Create test database in PostgreSQL run: |