Skip to content

Commit 18bd805

Browse files
committed
ci: Upgrade before installing new packages
Also purge the needless packages to avoid upgrade taking ages Signed-off-by: Jakub Jelen <jjelen@redhat.com>
1 parent fd4fc67 commit 18bd805

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,10 @@ jobs:
118118
run: |
119119
set -x
120120
if [ "${{ matrix.target }}" = "i686-unknown-linux-gnu" ]; then
121+
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4 firefox snapd mysql*
121122
sudo dpkg --add-architecture i386
122123
sudo apt-get update -y -qq
124+
sudo apt-get upgrade -y -qq
123125
sudo apt-get install -y -qq gcc-multilib:i386 libsofthsm2:i386 gcc:i386
124126
else
125127
sudo apt-get update -y -qq

0 commit comments

Comments
 (0)