diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index ee13f084..23a7eadf 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -187,7 +187,7 @@ jobs: const tc = require("@actions/tool-cache"); const urlToGrcovTar = "https://github.com/mozilla/grcov/releases/download/v0.8.2/grcov-linux-x86_64.tar.bz2"; const grcovTarPath = await tc.downloadTool(urlToGrcovTar); - const craneExtractedFolder = await tc.extractTar(grcovTarPath); + const craneExtractedFolder = await tc.extractTar(grcovTarPath, "--extract"); // no z, or gzip, as it's a bz2 core.addPath(craneExtractedFolder); - name: Generate test result and coverage report diff --git a/.github/workflows/promote-artifacts.yml b/.github/workflows/promote-artifacts.yml index 078ec6dd..bd93d159 100644 --- a/.github/workflows/promote-artifacts.yml +++ b/.github/workflows/promote-artifacts.yml @@ -72,7 +72,7 @@ jobs: const tc = require("@actions/tool-cache"); const urlToCraneTar = "https://github.com/google/go-containerregistry/releases/download/v0.6.0/go-containerregistry_Linux_x86_64.tar.gz"; const craneTarPath = await tc.downloadTool(urlToCraneTar); - const craneExtractedFolder = await tc.extractTar(craneTarPath); + const craneExtractedFolder = await tc.extractTar(craneTarPath, ["--extract", "--gzip"]); core.addPath(craneExtractedFolder); - name: Log into registry ${{ env.REGISTRY }} diff --git a/.github/workflows/semantic-tags.yml b/.github/workflows/semantic-tags.yml index 2e72c925..169deee6 100755 --- a/.github/workflows/semantic-tags.yml +++ b/.github/workflows/semantic-tags.yml @@ -141,7 +141,7 @@ jobs: const tc = require("@actions/tool-cache"); const urlToCraneTar = "https://github.com/google/go-containerregistry/releases/download/v0.6.0/go-containerregistry_Linux_x86_64.tar.gz"; const craneTarPath = await tc.downloadTool(urlToCraneTar); - const craneExtractedFolder = await tc.extractTar(craneTarPath); + const craneExtractedFolder = await tc.extractTar(craneTarPath, ["--extract", "--gzip"]); core.addPath(craneExtractedFolder); - name: Log into registry ${{ env.REGISTRY }}