Skip to content

Commit e4bb7da

Browse files
committed
ci(release): enforce non-interactive apt upgrades for termux builds
- Set `DEBIAN_FRONTEND=noninteractive` and add the `--force-confnew` flag to the system upgrade process. - Prevent the CI environment from hanging on configuration prompts, and ensure the latest stable system packages are consistently deployed.
1 parent 04434a0 commit e4bb7da

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,9 @@ jobs:
179179
docker run --name termux-build --security-opt seccomp:unconfined \
180180
-v ${{ github.workspace }}:/src:ro \
181181
termux/termux-docker:aarch64 \
182-
bash -c "apt update -yq && \
183-
apt upgrade -yq && \
182+
bash -c "export DEBIAN_FRONTEND=noninteractive && \
183+
apt update -yq && \
184+
apt upgrade -yq -o Dpkg::Options::='--force-confnew' && \
184185
apt install -yq clang make mesa-dev && \
185186
cp -r /src /tmp/build && \
186187
cd /tmp/build && \

0 commit comments

Comments
 (0)