Skip to content

Commit 47ebd65

Browse files
author
bghira
committed
fix ubuntu 22 again
1 parent 285fa7e commit 47ebd65

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ jobs:
3636
key: opencv-static-4.12.0-no-itt-linux-${{ matrix.os }}-${{ runner.arch }}-${{ matrix.manylinux }}
3737

3838
- name: Install build dependencies
39-
env:
40-
DEBIAN_FRONTEND: noninteractive
41-
NEEDRESTART_MODE: a
4239
run: |
40+
# Set environment variables for all commands including sudo
41+
echo "DEBIAN_FRONTEND=noninteractive" | sudo tee -a /etc/environment
42+
echo "NEEDRESTART_MODE=a" | sudo tee -a /etc/environment
43+
4344
sudo apt-get update
4445
# Install LLVM for opencv-rust bindings codegen (no need for system OpenCV anymore)
4546
sudo apt-get install -y clang libclang-dev llvm-dev cmake curl wget software-properties-common

0 commit comments

Comments
 (0)