Skip to content

Commit 205feb1

Browse files
committed
chore(workflows): add debug step for SQL Server password presence
This update introduces a new step in the workflow to check for the presence of the SQL Server administrator password. This helps ensure that the password is set before proceeding with the workflow. - Added a debug step to verify if the SQLHELPER_SQL_PASSWORD secret is empty or present.
1 parent a7d5ec9 commit 205feb1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/dotnet-test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ jobs:
8080
echo "SQL Server did not become reachable in time."
8181
exit 1
8282
83+
- name: Debug SA password presence
84+
run: |
85+
if [ -z "${{ secrets.SQLHELPER_SQL_PASSWORD }}" ]; then
86+
echo "Password is EMPTY"
87+
else
88+
echo "Password is PRESENT (value hidden)"
89+
fi
90+
8391
- name: Cache NuGet packages
8492
uses: actions/cache@v4
8593
with:

0 commit comments

Comments
 (0)