diff --git a/docs/github-actions.html b/docs/github-actions.html index 4dc42134..59ac9cd3 100644 --- a/docs/github-actions.html +++ b/docs/github-actions.html @@ -465,7 +465,7 @@ myHexNumber: ${{ 0xff }} myExponentialNumber: ${{ -2.99e-2 }} myString: Mona the Octocat - myStringInBraces: ${{ 'It''s open source!' }} + myStringInBraces: ${{ 'It''s source!' }}

函数 contains

@@ -482,9 +482,10 @@

另见: 函数 startsWith,此函数不区分大小写

函数 format

-
format('{{Hello {0} {1} {2}!}}', 'Mona', 'the', 'Octocat')
+
format('{{Hello {0} {1} {2}!}}', 'Mona', 'the', 'Octocat')
 // 返回 '{Hello Mona the Octocat!}'.
 
+

另见: 函数 format

函数 join

join(github.event.issue.labels.*.name, ', ')
@@ -836,6 +837,63 @@
     shell: python
 

您可以使用 shell 关键字覆盖运行器操作系统中的默认 shell 设置

+

一些 actions 推荐

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
:-:-
create-tag-action根据 package.json 创建 Tag / Release
changelog-generator生成 changelog 日志
github-action-modify-file-content修改仓库文件内容
github-action-contributors生成贡献(contributors.svg)图片
generated-badges生成徽章(Badges)图片
coverage-badges-cli生成覆盖率徽章(Badges)图片
action-ejs基于 ejs 生成 HTML
github-action-package修改 JSON 文件内容
markdown-to-html-cliMarkdown 转换成 HTML
ncipollo/release-action创建 Release
peaceiris/actions-gh-pages将文件或文件夹内容提交到 gh-pages 分支
+

另见