Skip to content

Commit

Permalink
Trying . as server name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Psichorex committed Dec 19, 2023
1 parent d03e6d4 commit 53a6d0e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/actions/setup-sql-server/Initialize-SqlServer.ps1
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
param (
[string]$sqlServerVersion = '2022',
[string]$sqlServerVersionNumber = '2022.16.0.1000'
[string]$sqlServerVersion = '2022'
)

if ($Env:RUNNER_OS -eq 'Windows')
{
choco install sql-server-express --version=$sqlServerVersionNumber --no-progress
choco install sql-server-2022 --no-progress
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-sql-server/Wait-SqlServer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ for ($i = 1; $i -le $maxTryCount; $i++)

if ($Env:RUNNER_OS -eq 'Windows')
{
sqlcmd -b -S .\SQLEXPRESS -Q 'SELECT @@SERVERNAME as ServerName' 2>&1>$null
sqlcmd -b -Q 'SELECT @@SERVERNAME as ServerName' 2>&1>$null
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/test-dotnet/Invoke-SolutionTests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $connectionStringSuffix = @(
) -join ''
if ($Env:RUNNER_OS -eq 'Windows')
{
$connectionStringStem = 'Server=.\SQLEXPRESS;Database=LombiqUITestingToolbox_{{id}};Integrated Security=True'
$connectionStringStem = 'Server=.;Database=LombiqUITestingToolbox_{{id}};Integrated Security=True'
}
else
{
Expand Down

0 comments on commit 53a6d0e

Please sign in to comment.