From 8698e46f99aa337f954f1595ad1f9f024f22dc53 Mon Sep 17 00:00:00 2001 From: Abdoulbari Zakir Date: Mon, 1 Jul 2024 12:00:35 +0200 Subject: [PATCH] install gh from rpm --- .github/workflows/centos7.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/centos7.yml b/.github/workflows/centos7.yml index 3308dab812..37a7e31cea 100644 --- a/.github/workflows/centos7.yml +++ b/.github/workflows/centos7.yml @@ -87,10 +87,8 @@ jobs: - name: Install gh if needed if: ${{ env.IS_RELEASE == 'true' }} run: | - yum -y install dnf - dnf -y install 'dnf-command(config-manager)' - dnf -y config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo - dnf -y install gh + wget https://github.com/cli/cli/releases/download/v2.52.0/gh_2.52.0_linux_amd64.rpm + rpm -qpR gh_2.52.0_linux_amd64.rpm - name: Configure run: |