jhonny-me/Wechat miniProgram cli action
Wechat miniProgram cli action
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| appid | 小程序/小游戏项目的 appid | yes | — |
| type | 项目的类型,有效值 miniProgram/miniProgramPlugin/miniGame/miniGamePlugin | no | miniProgram |
| projectPath | 项目的路径���即 project.config.json 所在的目录 | yes | — |
| privateKey | 私钥,在获取项目属性和上传时用于鉴权使用,在 微信公众平台 上使用小程序管理员登录后下载 | no | — |
| privateKeyPath | 私钥文件的路径,(创建 Project 对象,需要传入私钥内容或私钥文件路径) | no | — |
| ignores | 指定需要排除的规则, need to be stringified string array | no | — |
| version | 自定义版本号 | yes | — |
| desc | 自定义备注 | no | — |
| setting | #编译设置, stringified object | no | — |
| robot | 指定使用哪一个 ci 机器人,可选值:1 ~ 30 | no | — |
| threads | 指定本地编译过程中开启的线程数 | no | — |
| useCOS | 使用异步方式上传,当代码包大于 5MB 时,默认开启 | no | — |
Outputs
| name | description |
|---|---|
| result | Stringified Upload Response |