Skip to content

Commit 7013c69

Browse files
group message fix
1 parent 663b7da commit 7013c69

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "workflow for group message"
2+
on: [push]
3+
jobs:
4+
group-message:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: "Group message"
8+
run: |
9+
echo |
10+
"::group::This is a group message example."
11+
echo "This is a line inside the group."
12+
echo "Job context in JSON: ${{ toJSON(github.job) }}"
13+
echo "Job ref in JSON: ${{ toJSON(github.ref) }}"
14+
echo "Job sha in JSON: ${{ toJSON(github.sha) }}"
15+
echo "Another line inside the group."
16+
echo "You can collapse and expand this section in the logs."
17+
"::endgroup::"

0 commit comments

Comments
 (0)