From b75c49224db2ad30a448302713e9efd678823baa Mon Sep 17 00:00:00 2001 From: Sahara Yousuf Date: Thu, 7 Mar 2024 12:04:30 -0600 Subject: [PATCH] Set debconf to be noninteractive via dpkg-reconfigure - The GitHub Actions ubuntu runner threw some permissions issues when I tried to set the frontend to be noninteractive by directly invoking the debconf command. Let's try setting debconf to be noninteractive via dpkg-reconfigure instead to get past this. --- .github/workflows/test-dotnet-samples.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-dotnet-samples.yml b/.github/workflows/test-dotnet-samples.yml index ed8764a..91e2066 100644 --- a/.github/workflows/test-dotnet-samples.yml +++ b/.github/workflows/test-dotnet-samples.yml @@ -116,7 +116,7 @@ jobs: - name: Setup Microsoft Core Fonts run: | if [ "${{ matrix.os }}" == 'ubuntu-latest' ]; then - echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections + sudo dpkg-reconfigure debconf -f noninteractive sudo apt-get -y install ttf-mscorefonts-installer fi - name: Build samples