Skip to content

Commit

Permalink
collect wandbox.min
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix committed May 13, 2020
1 parent 28f9ae1 commit 75106d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ jobs:
make -C tools/fused fused
echo "##[set-output name=size;]$(wc -c < fused-src/iutest.hpp)"
echo "##[set-output name=min_size;]$(wc -c < fused-src/iutest.min.hpp)"
echo "##[set-output name=wandbox_min_size;]$(wc -c < fused-src/iutest.wandbox.min.hpp)"
- name: send metrics
run: |
curl \
-H "Content-Type: application/json" \
-X POST \
-d "{\"branch\": \"${GITHUB_REF#refs/heads/}\", \"commit\": \"${GITHUB_SHA}\", \"size\": \"${{ steps.fused.outputs.size }}\", \"min\": \"${{ steps.fused.outputs.min_size }}\"}" \
-d "{\"branch\": \"${GITHUB_REF#refs/heads/}\", \"commit\": \"${GITHUB_SHA}\", \"size\": \"${{ steps.fused.outputs.size }}\", \"min\": \"${{ steps.fused.outputs.min_size }}\", \"wandbox\": \"${{ steps.fused.outputs.wandbox_min_size }}\"}" \
${{ secrets.FUSED_METRICS_WEBHOOK }}

0 comments on commit 75106d9

Please sign in to comment.