Skip to content

[Investigate] Stopping/Starting Workflow Commands #182

Open
@ncalteen

Description

@ncalteen

Though not supported directly in the GitHub Actions Toolkit, there is a way to stop and start workflow commands during an action run. E.g.:

echo '::warning:: This is a warning message, to demonstrate that commands are being processed.'
stopMarker=$(uuidgen)
echo "::stop-commands::$stopMarker"
echo '::warning:: This will NOT be rendered as a warning, because stop-commands has been invoked.'
echo "::$stopMarker::"
echo '::warning:: This is a warning again, because stop-commands has been turned off.'

Action item: Investigate the usefulness/feasibility of implementing this in @github/local-action.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions