Skip to content

Commit

Permalink
Add ::group:: for each example to GitHub workflow logs
Browse files Browse the repository at this point in the history
It should make it easier to find the exact example in logs.
  • Loading branch information
YorikSar committed Mar 29, 2022
1 parent aeeabee commit c31e07a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ jobs:
for dir in "${with_nix[@]}"; do
cd "$dir"
echo
echo Running $(head -n1 README.md) with Nix
echo "::group::Running $(head -n1 README.md) with Nix"
nix-shell --command 'bazel run --config=nix :hello'
# TODO: all toolchains should run without Nixpkgs
cd ..
done
for dir in "${without_nix[@]}"; do
cd "$dir"
echo
echo Running $(head -n1 README.md) without Nix
echo "::group::Running $(head -n1 README.md) without Nix"
bazel run :hello
cd ..
done

0 comments on commit c31e07a

Please sign in to comment.