File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,16 @@ jobs:
6868 with :
6969 dotnet-version : |
7070 9.0.x
71- - name : Install SQLCMD tools
71+ - name : Install Microsoft GPG apt-key
72+ run : |
73+ curl -sSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
74+ sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
75+ - name : Add Microsoft SQL Server repo
7276 run : |
73- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
74- curl https://packages.microsoft.com/config/ubuntu/25.10/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
77+ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/ubuntu/22.04/prod jammy main" > /etc/apt/sources.list/d/mssql-release.list'
7578 sudo apt-get update
79+ - name : Install SQLCMD tools
80+ run : |
7681 sudo ACCEPT_EULA=Y apt-get install -y mssql-tools unixodbc-dev
7782 echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
7883 source ~/.bashrc
You can’t perform that action at this time.
0 commit comments