We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8e568e commit c0265beCopy full SHA for c0265be
1 file changed
.github/workflows/ci.yml
@@ -212,8 +212,10 @@ jobs:
212
213
- name: Create domainadmin as SQL sysadmin
214
run: |
215
- curl -fsSL https://packages.microsoft.com/config/ubuntu/22.04/prod.list | \
216
- sudo tee /etc/apt/sources.list.d/mssql-release.list
+ if ! grep -Rqs "https://packages.microsoft.com/ubuntu/22.04/prod" /etc/apt/sources.list /etc/apt/sources.list.d; then
+ echo "deb [arch=amd64,arm64,armhf signed-by=/usr/share/keyrings/microsoft-prod.gpg] https://packages.microsoft.com/ubuntu/22.04/prod jammy main" | \
217
+ sudo tee /etc/apt/sources.list.d/microsoft-prod.list > /dev/null
218
+ fi
219
sudo apt-get update
220
sudo ACCEPT_EULA=Y apt-get install -y mssql-tools18
221
/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P 'P@ssw0rd' -C -Q "
0 commit comments