mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
[VAULT-28666] Retry staticcheck download on failure in GitHub Actions (GHA) (#27781)
This commit is contained in:
parent
d2116025be
commit
d9cd3a094a
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ runs:
|
|||
fi
|
||||
|
||||
mkdir -p tmp
|
||||
gh release download "$VERSION" -p "staticcheck_${OS}_${ARCH}.tar.gz" -O tmp/staticcheck.tgz -R dominikh/go-tools
|
||||
./.github/scripts/retry-command.sh gh release download "$VERSION" -p "staticcheck_${OS}_${ARCH}.tar.gz" -O tmp/staticcheck.tgz -R dominikh/go-tools
|
||||
pushd tmp && tar -xvf staticcheck.tgz && popd
|
||||
mv tmp/staticcheck/staticcheck "$DESTINATION"
|
||||
rm -rf tmp
|
||||
|
|
|
|||
Loading…
Reference in a new issue