zxilly/Setup Cangjie
在 GitHub Actions 中安装仓颉
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| channel | 需要安装的仓颉版本通道,例如 lts, sts | no | lts |
| version | 需要安装的仓颉版本,例如 0.53.13, 0.58.3,使用 latest 表示最新版,使用 auto 表明尝试从 cjpm.toml 中获取版本,如果没有则使用 latest | no | auto |
| target | 交叉编译目标后缀,例如 android, ohos, ios, ohos-arm32。留空表示安装当前 runner 的原生 SDK | no | "" |
| cjv-version | 需要使用的 cjv 版本,例如 v1.2.3;使用 latest 表示最新版 | no | latest |
| components | 额外安装的组件,例如 stdx;多个用逗号或空格分隔。组件的环境变量会自动注入 | no | "" |
| repo-token | 仓颉中心仓认证 token (cangjie-repo.toml 中的 repository.home.token) | no | — |
Outputs
| name | description |
|---|---|
| version | 安装的仓颉版本 |