diff --git a/src/commands/install.yml b/src/commands/install.yml index 571b224..059d412 100644 --- a/src/commands/install.yml +++ b/src/commands/install.yml @@ -50,8 +50,8 @@ steps: if [[ ! -x "/tmp/snyk" ]]; then SNYK_CLI_VERSION=$(cat "/tmp/.snyk-version") echo "Downloading Snyk CLI version ${SNYK_CLI_VERSION}" - curl -sO --retry 6 https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<> - curl -sO --retry 6 https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<>.sha256 + curl -sO --retry 6 --retry-all-errors https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<> + curl -sO --retry 6 --retry-all-errors https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<>.sha256 sha256sum -c snyk-<>.sha256 sudo mv snyk-<> /tmp/snyk sudo chmod +x /tmp/snyk