Skip to content

Commit 08b50ae

Browse files
vkuttypCopilot
andcommitted
fix: add --batch to gpg in Install sqlcmd step to avoid /dev/tty error
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5bd6a3e commit 08b50ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
- name: Install sqlcmd
9191
run: |
9292
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc \
93-
| sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
93+
| sudo gpg --batch --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
9494
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft-prod.gpg] \
9595
https://packages.microsoft.com/ubuntu/24.04/prod noble main" \
9696
| sudo tee /etc/apt/sources.list.d/mssql-release.list

0 commit comments

Comments
 (0)