Split
GitHub action to split string
Install / Use
/learn @winterjung/SplitREADME
Split
✂️ GitHub action to split string
Inputs
msg: String to splitseparator: The delimiter to split the string. Default:' '(whitespace)maxsplit: Maximum number of splits. Default:-1(no limit)
Outputs
_0,_1, ...,_n: Each result of a splits- According to metadata syntax of outputs, it has
_prefix - Currently, support only
100splits
- According to metadata syntax of outputs, it has
length: Length of the splits
Example
name: split example
jobs:
example:
runs-on: ubuntu-latest
steps:
- uses: winterjung/split@v2
id: split
with:
msg: '/release split v1.0.0'
- name: release package
if: steps.split.outputs._0 == '/release'
uses: actions/create-release@latest
with:
release_name: Release ${{ steps.split.outputs._1 }}
tag_name: ${{ steps.split.outputs._2 }}
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
