Skip to content

Commit 4cb5947

Browse files
committed
fix: Add --batch --yes flags to gpg command for non-interactive mode
1 parent f87513a commit 4cb5947

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test-random-execution.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
- name: Install mssql-tools on runner
153153
if: ${{ matrix.db-platform == 'SQLSRV' }}
154154
run: |
155-
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
155+
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor --batch --yes -o /usr/share/keyrings/microsoft-prod.gpg
156156
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft-prod.gpg] https://packages.microsoft.com/ubuntu/24.04/prod jammy main" | sudo tee /etc/apt/sources.list.d/mssql-release.list
157157
sudo apt-get update
158158
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 mssql-tools18 unixodbc-dev

0 commit comments

Comments
 (0)