From 50af69b65951c953c2feb39e02c9389272af2822 Mon Sep 17 00:00:00 2001 From: Aapo Talvensaari Date: Fri, 6 Sep 2024 11:49:22 +0300 Subject: [PATCH] chore(ci): install gcc10 to amazon linux 2 Signed-off-by: Aapo Talvensaari --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d18c25e2304..39d3397049cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -135,6 +135,13 @@ jobs: path: /usr/local/git key: ${{ matrix.label }}-git-2.41.0 + - name: Install newer GCC + if: (matrix.package == 'rpm') && matrix.image == 'amazonlinux-2' && steps.cache-git.outputs.cache-hit != 'true' + run: | + yum update -y + yum install -y gcc10.x86_64 gcc10-c++.x86_64 + fi + # el-7,8, amazonlinux-2,2023 doesn't have git 2.18+, so we need to install it manually - name: Install newer Git if: (matrix.package == 'rpm') && matrix.image != '' && steps.cache-git.outputs.cache-hit != 'true'