Skip to content

Commit

Permalink
fix: revert "chore: add retry-all-errors curl parameter (#95)"
Browse files Browse the repository at this point in the history
This reverts commit 4a6d54a.
  • Loading branch information
bastiandoetsch committed May 25, 2023
1 parent 6638f81 commit f4388c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 --retry-all-errors https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<<parameters.os>>
curl -sO --retry 6 --retry-all-errors https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<<parameters.os>>.sha256
curl -sO --retry 6 https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<<parameters.os>>
curl -sO --retry 6 https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<<parameters.os>>.sha256
sha256sum -c snyk-<<parameters.os>>.sha256
sudo mv snyk-<<parameters.os>> /tmp/snyk
sudo chmod +x /tmp/snyk
Expand Down

0 comments on commit f4388c3

Please sign in to comment.