Skip to content

Commit

Permalink
fix: don't try extract bz2 as gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
kristof-mattei committed Oct 30, 2021
1 parent 9a8c19b commit edd13c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/promote-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit edd13c8

Please sign in to comment.