Skip to content

Commit c447e12

Browse files
committed
Ruby: Install gh cli in centos7 test
1 parent d4020ad commit c447e12

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ruby-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,14 @@ jobs:
247247
runs-on: ubuntu-latest
248248
container:
249249
image: centos:centos7
250+
env:
251+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
250252
needs: [package]
251253
steps:
254+
- name: Install gh cli
255+
run: |
256+
yum-config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
257+
yum install -y gh
252258
- uses: actions/checkout@v3
253259
- name: Fetch CodeQL
254260
uses: ./.github/actions/fetch-codeql

0 commit comments

Comments
 (0)