Skip to content

Commit a139653

Browse files
committed
fix github cli
1 parent 7cd9f5e commit a139653

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/integration-test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,9 @@ jobs:
137137

138138
- name: Install GitHub CLI
139139
if: failure() && matrix.package.gpu
140-
run: |
141-
curl -fsSL https://github.com/cli/cli/releases/latest/download/gh_$(curl -s https://api.github.com/repos/cli/cli/releases/latest | grep -oP '"tag_name":\s*"v\K[^"]+')_linux_amd64.tar.gz -o gh.tar.gz
142-
tar -xzf gh.tar.gz
143-
echo "$(pwd)/$(tar -tzf gh.tar.gz | head -1)bin" >> $GITHUB_PATH
140+
uses: sersoft-gmbh/setup-gh-cli-action@v2
141+
with:
142+
version: stable
144143

145144
- name: Check for open failure issue
146145
if: failure()

0 commit comments

Comments
 (0)