Skip to content

Commit

Permalink
update centos7 action
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jul 1, 2024
1 parent 9fa753e commit f10fa2b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -138,4 +136,3 @@ jobs:
run: |
gh release upload "$tag" _build/*.tar.gz _build/*.rpm

0 comments on commit f10fa2b

Please sign in to comment.