File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1515 using : " composite"
1616 steps :
1717
18+ - name : group-start
19+ shell : bash
20+ run : |
21+ echo ""::group::Determing the type of event"
22+
1823 - name : Get types
1924 id : type
2025 shell : bash
3338 echo "IS_DEPLOYMENT: ${{ steps.type.outputs.IS_DEPLOYMENT }}"
3439 echo "IS_CLEANUP: ${{ steps.type.outputs.IS_CLEANUP }}"
3540
41+ - name : group-end
42+ shell : bash
43+ run : |
44+ echo ""::endgroup::"
45+
46+
47+ - name: group-start
48+ shell : bash
49+ run : |
50+ echo ""::group::Authenticate to AWS"
51+
52+
3653 - name : Authenticate
3754 uses : elastic/docs-builder/.github/actions/aws-auth@main
3855
56+ - name : group-end
57+ shell : bash
58+ run : |
59+ echo ""::endgroup::"
60+
61+ - name : group-start
62+ if : steps.type.outputs.IS_CLEANUP == 'true'
63+ shell : bash
64+ run : |
65+ echo ""::group::Cleanup"
66+
3967 - name : Cleanup
4068 if : steps.type.outputs.IS_CLEANUP == 'true'
4169 shell : bash
6896 });
6997 }
7098
99+ - name : group-end
100+ shell : bash
101+ if : steps.type.outputs.IS_CLEANUP == 'true'
102+ run : |
103+ echo ""::endgroup::"
104+
105+ - name : group-start
106+ if : steps.type.outputs.IS_DEPLOYMENT == 'true'
107+ shell : bash
108+ run : |
109+ echo ""::group::Deploy"
110+
71111 - name : Create Deployment
72112 if : steps.type.outputs.IS_DEPLOYMENT == 'true'
73113 uses : actions/github-script@v7
@@ -150,3 +190,8 @@ runs:
150190 log_url: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}',
151191 description: "Deployment completed",
152192 })
193+
194+ - name : group-end
195+ shell : bash
196+ run : |
197+ echo ""::endgroup::"
You can’t perform that action at this time.
0 commit comments