Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 284 Bytes

File metadata and controls

11 lines (9 loc) · 284 Bytes

Command Regex Extract

Extracts strings from a command output using regex inputs, and returns a list of matches.

- uses: sarahschwartz/cmd-regex-extract@main
  with:
   command: 'echo "Version: 1.2.3-beta"'
    regex-inputs: |
        ([0-9]+\.[0-9]+\.[0-9]+(-[a-z]+)?)