Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grouped output #10

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 22 additions & 44 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,57 +10,35 @@ runs:
using: "composite"
steps:
-
name: Dump Env vars
run: |
echo -e "\033[31;1;4mDump Env vars\033[0m"
echo "::group::env vars"
env|sort
echo
echo "::endgroup::"

echo "::group::runner context"
echo "$RUNNER_CONTEXT"
echo "::endgroup::"

echo "::group::job context"
echo "$JOB_CONTEXT"
echo "::endgroup::"

echo "::group::steps context"
echo "$STEPS_CONTEXT"
echo "::endgroup::"

echo "::group::strategy context"
echo "$STRATEGY_CONTEXT"
echo "::endgroup::"

echo "::group::matrix context"
echo "$MATRIX_CONTEXT"
echo "::endgroup::"
shell: bash
-
name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: |
echo -e "\033[31;1;4mDump runner context\033[0m"
echo -e "$RUNNER_CONTEXT\n"
shell: bash
-
name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo -e "\033[31;1;4mDump GitHub context\033[0m"
echo -e "$GITHUB_CONTEXT\n"
shell: bash
-
name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: |
echo -e "\033[31;1;4mDump job context\033[0m"
echo -e "$JOB_CONTEXT\n"
shell: bash
-
name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: |
echo -e "\033[31;1;4mDump steps context\033[0m"
echo -e "$STEPS_CONTEXT\n"
shell: bash
-
name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: |
echo -e "\033[31;1;4mDump strategy context\033[0m"
echo -e "$STRATEGY_CONTEXT\n"
shell: bash
-
name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: |
echo -e "\033[31;1;4mDump matrix context\033[0m"
echo -e "$MATRIX_CONTEXT\n"
shell: bash