From b835192b32298655e3aa134faac92f5ee941cb69 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Tue, 6 Feb 2024 17:37:49 +0800 Subject: [PATCH] chore(ci): fix get dataset from benchmark result file (#14630) --- .github/workflows/reuse.benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reuse.benchmark.yml b/.github/workflows/reuse.benchmark.yml index bfd9702b90846..e02b24c4bfcd0 100644 --- a/.github/workflows/reuse.benchmark.yml +++ b/.github/workflows/reuse.benchmark.yml @@ -147,7 +147,7 @@ jobs: - name: Get Report Prefix run: | for result in benchmark/clickbench/results/*.json; do - dataset=$(echo $result | sed -E 's/.*result-(.*)-.*\.json/\1/') + dataset=$(echo $result | sed -E 's/.*result-(\w+)-.*\.json/\1/') mv $result benchmark/clickbench/results/${dataset}/$(basename $result) done echo "REPORT_S3_PREFIX=s3://benchmark/clickbench/pr/${{ inputs.source_id }}/${{ inputs.run_id }}" >> $GITHUB_ENV