This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git


The following commit(s) were added to refs/heads/master by this push:
     new a59c7cd5 Build on ubuntu:20.04, fixes #812 (#814)
a59c7cd5 is described below

commit a59c7cd51c2929bb77d70384f5a3d675b1082865
Author: Petr Široký <[email protected]>
AuthorDate: Wed Mar 15 18:08:50 2023 +0100

    Build on ubuntu:20.04, fixes #812 (#814)
    
    * building on ubuntu:22.04 produces binaries which require too recent glibc
       version (2.32+) and that means the binary no longer works on
       older ubuntu versions, like 20.04 and 18.04.
    
     * building on ubuntu:20.04 fixes the problem and the binary again works
       on ubuntu 18.04 and 20.04
    
     * also bumped the version in the release workflow which got forgotten
---
 .github/workflows/early-access.yaml | 4 ++--
 .github/workflows/release.yaml      | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/early-access.yaml 
b/.github/workflows/early-access.yaml
index 2553d099..a04eb661 100644
--- a/.github/workflows/early-access.yaml
+++ b/.github/workflows/early-access.yaml
@@ -31,7 +31,7 @@ jobs:
   default-build:
     name: 'Default build (without Graal)'
     if: startsWith(github.event.head_commit.message, '[release] Release ') != 
true
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-20.04
     steps:
       - name: 'Checkout'
         uses: actions/checkout@v3
@@ -52,7 +52,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        os: [ ubuntu-22.04, macOS-10.15, windows-2019 ]
+        os: [ ubuntu-20.04, macOS-10.15, windows-2019 ]
     runs-on: ${{ matrix.os }}
 
     steps:
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 213e9f61..23dfe204 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -35,7 +35,7 @@ jobs:
     strategy:
       fail-fast: true
       matrix:
-        os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
+        os: [ ubuntu-20.04, macOS-10.15, windows-2019 ]
     runs-on: ${{ matrix.os }}
 
     steps:
@@ -88,7 +88,7 @@ jobs:
 
   source:
     name: 'Build source distributions'
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     steps:
       - name: 'Check out repository'
         uses: actions/checkout@v3
@@ -121,7 +121,7 @@ jobs:
             target/maven-mvnd-*.tar.gz
 
   release:
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     needs: [build, source]
 
     steps:

Reply via email to