Skip to content

Commit

Permalink
strip components
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Nov 26, 2023
1 parent a6c9d49 commit 5febce0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,14 +276,15 @@ jobs:
TARBALL_URL=https://github.com/efabless/openlane-metrics/tarball/commit-$MAIN_SHA
mkdir -p gold
echo "Curling '$TARBALL_URL'…"
curl -L $TARBALL_URL | tar -xzvC gold
curl -L $TARBALL_URL | tar -xzvC gold --strip-components 1
- uses: actions/github-script@v6
if: ${{ github.event_name == 'pull_request' }}
with:
github-token: ${{ secrets.GH_TOKEN }}
script: |
const { spawnSync } = require("child_process");
var child = spawnSync("python3", ["-m", "openlane.common.metrics", "compare-multiple", "gold", "current", "--plain", "--include-tables"], { encoding: "utf8" });
console.log(child);
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
Expand Down

0 comments on commit 5febce0

Please sign in to comment.