From 73fb4d486a205722735405e7f0aac133ff7150af Mon Sep 17 00:00:00 2001 From: Luke Date: Tue, 4 Jun 2024 14:24:26 -0700 Subject: [PATCH] ci: fix sudo --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f960faad..c5e25349 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -81,7 +81,7 @@ jobs: run: echo "DEB_ARCH=amd64" >> $GITHUB_ENV - if: startsWith(matrix.os, 'ubuntu') run: | - dpkg --add-architecture $DEB_ARCH + sudo dpkg --add-architecture $DEB_ARCH sudo apt update sudo apt install -y libudev-dev:$DEB_ARCH libasound2-dev:$DEB_ARCH libssl-dev:$DEB_ARCH libfuse2:$DEB_ARCH # Windows/macOS/wasm32/ubuntu x86_64 can all build/cross build normally