From e607d356df13ba3655a6194931cfb83331a11c48 Mon Sep 17 00:00:00 2001 From: YigitElma Date: Wed, 11 Sep 2024 10:20:04 +0900 Subject: [PATCH 1/2] add hidden files to upload artifacts step --- .github/workflows/benchmark.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 8d893ede7..5d9f5826d 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -171,3 +171,4 @@ jobs: with: name: benchmark_artifact_${{ matrix.group }} path: tests/benchmarks/.benchmarks + include-hidden-files: true From b9771c0a6fd098b57d94b03be4409905c7b5d294 Mon Sep 17 00:00:00 2001 From: YigitElma Date: Wed, 11 Sep 2024 11:26:02 +0900 Subject: [PATCH 2/2] remove redundant step of benchmark job, we don't need to unzip in linux system to open the file --- .github/workflows/benchmark.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 5d9f5826d..68c944210 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -136,17 +136,6 @@ jobs: pattern: benchmark_artifact_* path: tests/benchmarks - - name: Unzip artifacts if downloaded - if: always() && env.has_changes == 'true' - run: | - cd tests/benchmarks - ls - if [ -f tests/benchmarks/benchmark_artifact_*.zip ]; then - unzip tests/benchmarks/benchmark_artifact_*.zip -d tests/benchmarks - else - echo "No benchmark artifact file found." - fi - - name: Compare latest commit results to the master branch results if: env.has_changes == 'true' run: |