Skip to content

Commit

Permalink
install gh from rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Jul 1, 2024
1 parent 03d94dd commit 8698e46
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 8698e46

Please sign in to comment.