From f10fa2bc1eccbae1d38e4398cfc1805903b8207a Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Mon, 1 Jul 2024 14:04:06 +0200 Subject: [PATCH] update centos7 action --- .github/workflows/centos7.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/centos7.yml b/.github/workflows/centos7.yml index 46b3e34ab8..bf7dd3b476 100644 --- a/.github/workflows/centos7.yml +++ b/.github/workflows/centos7.yml @@ -73,11 +73,9 @@ 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 -i gh_2.52.0_linux_amd64.rpm + gh --version - name: Configure run: | @@ -138,4 +136,3 @@ jobs: run: | gh release upload "$tag" _build/*.tar.gz _build/*.rpm -