Skip to content

Commit 8f7729d

Browse files
committed
Always echo matrix output
1 parent 515c209 commit 8f7729d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,14 @@ runs:
159159
cat matrix
160160
echo "::$stopMarker::"
161161
shell: bash
162+
163+
- name: Disable workflow commands
164+
if: ${{ !cancelled() }}
165+
run: |
166+
echo '::warning:: This is a warning message, to demonstrate that commands are being processed.'
167+
stopMarker=$(uuidgen)
168+
echo "::stop-commands::$stopMarker"
169+
echo '::warning:: This will NOT be rendered as a warning, because stop-commands has been invoked.'
170+
echo "::$stopMarker::"
171+
echo '::warning:: This is a warning again, because stop-commands has been turned off.'
172+
shell: bash

0 commit comments

Comments
 (0)