From 49ff2472ff6f005acc9123f56240e69b80b7c8fd Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Thu, 13 Jan 2022 00:21:27 +0100 Subject: [PATCH] Fix location of converter tool executable --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index b6500fe..8358622 100644 --- a/action.yml +++ b/action.yml @@ -27,7 +27,7 @@ runs: run: | mkdir -p ~/.local/bin curl -L "https://github.com/rm3l/container-scan-to-sarif/releases/download/${{ inputs.converter-version }}/container-scan-to-sarif_${{ inputs.converter-version }}_Linux_x86_64.tar.gz" \ - | tar zx -C ~/.local/bin + | tar zx -C ~/.local/bin --strip-components=1 chmod +x ~/.local/bin/container-scan-to-sarif shell: bash - id: scan-to-sarif