Skip to content

Commit d8783fb

Browse files
committed
fix workflow bug
1 parent 7386678 commit d8783fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
VERSION=$(curl --silent https://api.github.com/repos/cli/cli/releases/latest | grep -oE "v[0-9]+\.[0-9]+\.[0-9]+" | head -n 1)
2424
curl -L "https://github.com/cli/cli/releases/download/$VERSION/gh_${VERSION#v}_linux_amd64.tar.gz" -o gh.tar.gz
25-
tar xzf gh.tar.gz
25+
tar -zcvf gh.tar.gz
2626
sudo mv gh_${VERSION#v}_linux_amd64/bin/gh /usr/local/bin/
2727
rm -rf gh_${VERSION#v}_linux_amd64 gh.tar.gz
2828

0 commit comments

Comments
 (0)