You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
split-by
v1.0.0
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.
Array of strings.
- uses: rishabhgupta/split-by@v1
id: split
with:
string: 'feat/branch-name'
split-by: '/'
- run: |
echo "${{ steps.split.outputs.value }}"