Skip to content

Commit e1f9c9d

Browse files
committed
f
1 parent abde25a commit e1f9c9d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/bench.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
&& (contains(github.event.comment.body, '!benchmark'))
1919
&& (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER')
2020
runs-on: ubuntu-latest
21+
outputs:
22+
benches: ${{ steps.bench-params.outputs.benches }}
2123
steps:
2224
- uses: actions/checkout@v5
2325
- name: Parse PR comment body
@@ -32,9 +34,12 @@ jobs:
3234
echo "BENCHES\n$BENCHES"
3335
JSON=$(echo $BENCHES | jq -R -c 'split(" ")')
3436
35-
echo "benches<<EOF" >> $GITHUB_OUTPUT
36-
echo "$JSON" | tee -a $GITHUB_OUTPUT
37-
echo "EOF" >> $GITHUB_OUTPUT
37+
#echo "benches<<EOF" >> $GITHUB_OUTPUT
38+
#echo "$JSON" | tee -a $GITHUB_OUTPUT
39+
#echo "EOF" >> $GITHUB_OUTPUT
40+
echo "JSON\n$JSON"
41+
42+
echo "benches=$JSON" | tee -a $GITHUB_OUTPUT
3843
3944
# Can't persist env vars between jobs, so we pass them as an output and set them in the next job
4045
echo "env-vars=$(tail -n +2 comment.txt)" | tee -a $GITHUB_OUTPUT

0 commit comments

Comments
 (0)