Skip to content

Commit 2abb033

Browse files
committed
Install required dependencies for gh in centos 7
1 parent c447e12 commit 2abb033

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ruby-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,10 @@ jobs:
254254
- name: Install gh cli
255255
run: |
256256
yum-config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
257-
yum install -y gh
257+
# fetch-codeql requires unzip and jq
258+
# jq is available in epel-release (https://docs.fedoraproject.org/en-US/epel/)
259+
yum install -y gh unzip epel-release
260+
yum install -y jq
258261
- uses: actions/checkout@v3
259262
- name: Fetch CodeQL
260263
uses: ./.github/actions/fetch-codeql

0 commit comments

Comments
 (0)