From 229396f1c39711c9acfda24df9f11faff34c1926 Mon Sep 17 00:00:00 2001 From: Alberto Date: Wed, 17 Aug 2022 22:55:39 +0200 Subject: [PATCH] build.yml --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a424af58..76251b18 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: java: [ '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19-ea', '20-ea' ] - os: [ windows-latest, ubuntu-18.04, macOS-latest ] + os: [ windows-latest, ubuntu-20.04, macOS-latest ] runs-on: ${{ matrix.os }} env: MAVEN_OPTS: -Dhttp.keepAlive=false @@ -19,5 +19,10 @@ jobs: distribution: zulu java-version: ${{ matrix.java }} - if: contains(matrix.os, 'ubuntu') - run: sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install -y wine32 + run: | + sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list + sudo apt-get update -qq + sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal + sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4 + sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install -y wine32 - run: ./mvnw clean verify -B -V -e -ntp