We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4c197b commit 1a59d44Copy full SHA for 1a59d44
1 file changed
.github/workflows/benchmark.yml
@@ -112,10 +112,13 @@ jobs:
112
- name: Post PR comment
113
if: always() && github.event_name == 'pull_request'
114
uses: actions/github-script@v7
115
+ env:
116
+ BENCH_EXIT_CODE: ${{ steps.bench.outputs.exit_code }}
117
+ BENCH_SUMMARY: ${{ steps.bench.outputs.summary }}
118
with:
119
script: |
- const exitCode = '${{ steps.bench.outputs.exit_code }}';
- const summary = `${{ steps.bench.outputs.summary }}`;
120
+ const exitCode = process.env.BENCH_EXIT_CODE || '0';
121
+ const summary = process.env.BENCH_SUMMARY || '';
122
const passed = exitCode === '0';
123
const icon = passed ? '✅' : '❌';
124
const headline = passed
0 commit comments