Skip to content

Commit

Permalink
Make output nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvanoosten committed Nov 16, 2023
1 parent e6f9244 commit ba6454f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
- name: Store flame graphs
run: |
echo "Store flame graphs"
echo "Collecting new flame graph"
git config pull.rebase true
read REV COMMIT_DATE COMMIT_TIME COMMIT_TZ COMMIT_MSG <<< \
Expand All @@ -70,15 +71,16 @@ jobs:
ls -al zio-kafka-bench/
echo "::endgroup::"
mv zio-kafka-bench/zio.kafka.bench.* /tmp
echo "Checkout gh-pages branch"
echo "::group::Checkout gh-pages branch"
git clean -fdx
git checkout gh-pages
git pull
git config --global user.name "zio-kafka CI"
git config --global user.email "ziokafkaci@users.noreply.github.com"
echo "::endgroup::"
echo "Remove old flame graphs"
scala-cli scripts/prune-flame-graph.sc
echo "Adding new flame graph"
echo "::group::Adding new flame graph"
mkdir -p dev/profile/$REV
mv /tmp/zio.kafka.bench.* dev/profile/$REV
cd dev/profile
Expand All @@ -88,3 +90,4 @@ jobs:
git add .
git commit -m "Flame graphs for $REV"
git push
echo "::endgroup::"

0 comments on commit ba6454f

Please sign in to comment.