语言检测动作:检测问题,评论或请求请求的语言

时间:2021-02-12 06:36:56
【文件属性】:
文件名称:语言检测动作:检测问题,评论或请求请求的语言
文件大小:256KB
文件格式:ZIP
更新时间:2021-02-12 06:36:56
TypeScript 语言检测动作 检测问题,发布评论或请求请求中使用的语言。 用法 获取字符串的iso语言代码: - uses : chronophylos/language-detection-action@v1 id : ' detect ' with : input : ' Hello World. This is a test from a workflow. ' - name : ' Dump result ' run : echo "Found language `${{steps.detect.outputs.language}}`"
【文件预览】:
language-detection-action-main
----.eslintrc.json(2KB)
----.gitignore(1KB)
----package.json(1KB)
----package-lock.json(374KB)
----src()
--------main.ts(505B)
--------detection.ts(399B)
----jest.config.js(235B)
----dist()
--------index.js(249KB)
--------index.js.map(302KB)
--------sourcemap-register.js(121KB)
----LICENSE(1KB)
----tsconfig.json(926B)
----.github()
--------workflows()
--------dependabot.yml(276B)
----.prettierrc.json(180B)
----.prettierignore(24B)
----__tests__()
--------main.test.ts(506B)
----README.md(606B)
----.eslintignore(24B)
----LICENSE-TEMPLATE(1KB)
----action.yml(361B)

网友评论