Skip to content

Commit caad2bd

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 548e42a commit caad2bd

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
@@ -117,8 +117,10 @@ jobs:
117117
- name: Install SoftHSM
118118
run: |
119119
if [ "${{ matrix.target }}" = "i686-unknown-linux-gnu" ]; then
120+
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4 firefox snapd mysql*
120121
sudo dpkg --add-architecture i386
121122
sudo apt-get update -y -qq
123+
sudo apt-get upgrade -y -qq
122124
sudo apt-get install -y -qq gcc-multilib:i386 libsofthsm2:i386 gcc:i386
123125
else
124126
sudo apt-get update -y -qq

0 commit comments

Comments
 (0)