From 78a47afcb3d41debbe4c1370abe0ba932c26c07e Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Fri, 20 Dec 2024 09:42:16 -0330 Subject: [PATCH] Fix benchmark artifact processing --- .github/workflows/publish-prerelease.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-prerelease.yml b/.github/workflows/publish-prerelease.yml index 22a7c7a9c87f..9b4e460d546a 100644 --- a/.github/workflows/publish-prerelease.yml +++ b/.github/workflows/publish-prerelease.yml @@ -50,11 +50,8 @@ jobs: env: CIRCLE_WORKFLOW_JOB_ID: ${{ steps.get-circleci-job-details.outputs.CIRCLE_WORKFLOW_JOB_ID }} run: | - for platform in chrome firefox; do - pageload=$(curl --silent --location "https://output.circle-artifacts.com/output/job/${CIRCLE_WORKFLOW_JOB_ID}/artifacts/0/test-artifacts/${platform}/benchmark/pageload.json") - mkdir -p "test-artifacts/${platform}/benchmark" - echo "${pageload}" > "test-artifacts/${platform}/benchmark/pageload.json" - done + mkdir -p "test-artifacts/chrome/benchmark" + curl --silent --location "https://output.circle-artifacts.com/output/job/${CIRCLE_WORKFLOW_JOB_ID}/artifacts/0/test-artifacts/chrome/benchmark/pageload.json" > "test-artifacts/chrome/benchmark/pageload.json" bundle_size=$(curl --silent --location "https://output.circle-artifacts.com/output/job/${CIRCLE_WORKFLOW_JOB_ID}/artifacts/0/test-artifacts/chrome/bundle_size.json") mkdir -p "test-artifacts/chrome"