substitute-string-action:Y使用YAML轻松替换或替换GitHub Actions中的字符串

时间:2021-05-26 03:40:17
【文件属性】:
文件名称:substitute-string-action:Y使用YAML轻松替换或替换GitHub Actions中的字符串
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-26 03:40:17
string-manipulation github-actions JavaScript 替代字符串作用 GitHub动作,可使用YAML轻松替换或替换文本或文件中的字符串! 用法 最简单的用法可以配置如下: jobs : build : runs-on : ubuntu-latest steps : - uses : bluwy/substitute-string-action@v1 id : sub with : _input-text : ' Hello World! ' World : GitHub - run : echo ${{ steps.sub.outputs.result }} # Prints 'Hello GitHub!' 有关更多用例,请参见下面的。 参数 _input-text 可选纯输入文本。 _input-file 可选要作为输入读取的文件。 您
【文件预览】:
substitute-string-action-master
----index.js(3KB)
----package.json(506B)
----.github()
--------workflows()
--------test.txt(30B)
----.prettierrc(43B)
----action.yml(832B)
----LICENSE(1KB)
----package-lock.json(914B)
----dist()
--------index.js(13KB)
----.gitignore(12B)
----README.md(4KB)

网友评论