Actions splits strings by the given delimiter
required string to be split
required string/char to be used as the delimiter to split the string.
Object containing key value pairs
{
_0: 'first',
_1: 'secound'
}
- uses: rishabhgupta/split-by@v1
id: split
with:
string: 'feat/branch-name'
split-by: '/'
- run: |
echo "${{ steps.split.outputs._1}}"