mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 09:42:25 +00:00
[VAULT-28666] Retry staticcheck download on failure in GitHub Actions (GHA) (#27781)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user