Skip to content

Commit bb53859

Browse files
cfsmp3claude
andcommitted
fix(ci): use apt install to handle .deb dependencies in test step
apt install automatically resolves and installs dependencies, unlike dpkg -i which fails if dependencies are missing. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a1871ab commit bb53859

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build_deb.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,9 @@ jobs:
249249
PKG_NAME="ccextractor-${VARIANT}_${VERSION}_amd64"
250250
fi
251251
252-
# Install and test
253-
sudo dpkg -i ${PKG_NAME}.deb
252+
# Install and test (apt handles dependencies automatically)
253+
sudo apt-get update
254+
sudo apt-get install -y ./${PKG_NAME}.deb
254255
ccextractor --version
255256
256257
- name: Get .deb filename

0 commit comments

Comments
 (0)