mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +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
|
fi
|
||||||
|
|
||||||
mkdir -p tmp
|
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
|
pushd tmp && tar -xvf staticcheck.tgz && popd
|
||||||
mv tmp/staticcheck/staticcheck "$DESTINATION"
|
mv tmp/staticcheck/staticcheck "$DESTINATION"
|
||||||
rm -rf tmp
|
rm -rf tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user