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 -