Skip to content

Commit d451327

Browse files
committed
Fix curl installation conflict in multi-OS CI workflow
1 parent 23d7df0 commit d451327

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/multi-os-test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ jobs:
100100
# Update package list and install basic tools
101101
echo "📦 Installing dependencies..."
102102
${{ matrix.package_manager }} update -y -q
103+
104+
# Handle curl/curl-minimal conflict in minimal containers
105+
if ${{ matrix.package_manager }} list installed | grep -q curl-minimal; then
106+
echo "curl-minimal detected, removing before installing full curl..."
107+
${{ matrix.package_manager }} remove -y curl-minimal || true
108+
fi
109+
103110
${{ matrix.package_manager }} install -y -q curl wget socat cronie procps-ng || \
104111
${{ matrix.package_manager }} install -y -q curl wget socat cron procps-ng || {
105112
echo "⚠️ Some packages failed to install, continuing with available tools..."

0 commit comments

Comments
 (0)