Fix setting DEBIAN_FRONTEND for apt-get install
Do it in the command executed by sudo, as sudo doesn't propagate the environment variable values by default (--preserve-env option could be used to do it, but it's simpler to avoid it).
This commit is contained in:
parent
4328e81dde
commit
16ae31b0da
1 changed files with 1 additions and 3 deletions
4
.github/workflows/ci_msw_cross.yml
vendored
4
.github/workflows/ci_msw_cross.yml
vendored
|
|
@ -93,8 +93,6 @@ jobs:
|
|||
|
||||
- name: Install prerequisites
|
||||
run: |
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
packages="git make wine x11-xserver-utils xvfb"
|
||||
|
||||
case "${HOST_TRIPLET}" in
|
||||
|
|
@ -116,7 +114,7 @@ jobs:
|
|||
;;
|
||||
esac
|
||||
|
||||
sudo apt-get -qq install $packages
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install $packages
|
||||
|
||||
echo "wxTEST_RUNNER=${winerun}" >> $GITHUB_ENV
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue