From 93c18ba9b2a5d71630f103af993190ec69bbce28 Mon Sep 17 00:00:00 2001 From: Abdoulbari ZAKIR Date: Wed, 10 Jan 2024 10:18:36 +0100 Subject: [PATCH] hew & elastic --- .github/workflows/centos7.yml | 9 ++++++++- .github/workflows/oracle8.yml | 8 +++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/centos7.yml b/.github/workflows/centos7.yml index 19273fd38c..0b397692c3 100644 --- a/.github/workflows/centos7.yml +++ b/.github/workflows/centos7.yml @@ -61,7 +61,7 @@ jobs: - name: Install gcc 10 run: | - yum install -y centos-release-scl gh + yum install -y centos-release-scl yum install -y devtoolset-10-gcc* - name: Configure @@ -115,6 +115,13 @@ jobs: with: path: _build/*.rpm + - name: Install gh + run: | + yum install dnf + dnf install 'dnf-command(config-manager)' + dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo + dnf install gh + - name: Publish assets if: ${{ env.IS_RELEASE == 'true' }} env: diff --git a/.github/workflows/oracle8.yml b/.github/workflows/oracle8.yml index 9f37a12a13..1c6b58b01b 100644 --- a/.github/workflows/oracle8.yml +++ b/.github/workflows/oracle8.yml @@ -38,7 +38,7 @@ jobs: - name: Install libraries run: | - dnf install -y epel-release git cmake wget rpm-build redhat-lsb-core gh + dnf install -y epel-release git cmake wget rpm-build redhat-lsb-core dnf install -y unzip libuuid-devel boost-test boost-devel gcc-toolset-10-toolchain zlib-devel - name: Checkout @@ -104,6 +104,12 @@ jobs: with: path: _build/*.rpm + - name: Install gh + run: | + dnf install 'dnf-command(config-manager)' + dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo + dnf install gh + - name: Publish assets if: ${{ env.IS_RELEASE == 'true' }} env: