From 2dc24eaff926bb620661365737b793b44c962741 Mon Sep 17 00:00:00 2001 From: Rami Date: Sat, 20 Jul 2024 13:40:21 +0200 Subject: [PATCH] fix --- .github/workflows/evaluation_pipeline.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/evaluation_pipeline.yml b/.github/workflows/evaluation_pipeline.yml index 5d905258..2e58e55b 100644 --- a/.github/workflows/evaluation_pipeline.yml +++ b/.github/workflows/evaluation_pipeline.yml @@ -81,21 +81,13 @@ jobs: poetry run python tests/evaluation/compare_scores.py \ scores.md \ main-scores/scores.md - - - name: Verify working directory and file locations - run: | - echo "Current working directory:" - pwd - echo "Contents of current directory:" - ls -la - echo "Contents of parent directory:" - ls -la .. - name: Generate markdown comment + if: github.ref != 'refs/heads/main' id: comparison run: | - comparison=$(cat scores.md) - echo "::set-output name=comparison::$comparison" + comparison=$(cat comparison.md) + echo "{comparison}={$comparison}" >> $GITHUB_OUTPUT - name: Post comparison on PR if: success() && steps.findPr.outputs.number