moonrepo/Setup proto and moon toolchains
Installs proto and moon globally when required, and caches the toolchain.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| auto-install | Auto-install proto tools using `proto install`. | — | false |
| auto-setup | Auto-setup moon toolchains using `moon setup`. | — | false |
| cache | Toggle caching of the toolchain directory. | — | true |
| cache-base | Base branch/ref to save a warmup cache on. Other branches/refs will restore from this base. | — | — |
| cache-version | Version of the cache. Can be used to invalidate keys. | — | — |
| moon-version | Version of moon to install. | no | "" |
| proto-version | Version of proto to install. | no | "" |
| workspace-root | Path to the moon workspace root (if in a sub-directory). | no | "" |
Outputs
| name | description |
|---|---|
| cache-key | The cache key used for the toolchain folder (~/.proto). |
| cache-hit | A boolean to indicate an exact match was found for the cache key. |