From b26b74b4f755af70fe62d28f0f591aaf31bf6a2c Mon Sep 17 00:00:00 2001 From: Guillaume Bougard Date: Fri, 12 May 2023 17:32:56 +0200 Subject: [PATCH] Fix curl command syntax --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa4a23c..18d2c83 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -90,7 +90,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') && env.VT_API_KEY run: | let TRY=20 - while curl -s --request GET --url https://www.virustotal.com/api/v3/files/${{ steps.build.outputs.sha256 }} --header 'x-apikey: $VT_API_KEY'" >vt.json + while curl -s --request GET --url https://www.virustotal.com/api/v3/files/${{ steps.build.outputs.sha256 }} --header "x-apikey: $VT_API_KEY" >vt.json do ERRCODE=$(jq .error.code vt.json 2>&1) if [ "$ERRCODE" == "null" ]; then