Skip to content

Commit

Permalink
Set debconf to be noninteractive via dpkg-reconfigure
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
datalogics-saharay committed Mar 7, 2024
1 parent c3ecaee commit b75c492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-dotnet-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b75c492

Please sign in to comment.