omnicli/omni setup action
Action to install omni (https://omnicli.dev), and run "omni up" to prepare a dynamic environment
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | The version of omni to install; if not specified, the latest version will be installed | no | — |
| up | Whether to run "omni up" or not | no | false |
| up_args | Arguments to pass to "omni up" | no | — |
| up_retries | Number of times to retry "omni up" if it fails (0 = no retries) | no | 0 |
| up_retry_delay | Base delay in milliseconds between retry attempts | no | 1000 |
| up_retry_jitter | Jitter percentage to add randomness to retry delays | no | 10 |
| up_retry_backoff | Backoff multiplier for exponential backoff between retries | no | 1 |
| check | Whether or not to run `omni config check` after installing omni | no | false |
| check_patterns | Patterns to pass to `omni config check`. Multiple patterns can be provided as a colon or newline-separated string | no | — |
| check_ignore | Error codes to ignore in `omni config check`. Multiple codes can be provided as a comma or newline-separated string | no | — |
| check_select | Error codes to select in `omni config check`. Multiple codes can be provided as a comma or newline-separated string | no | — |
| cache | If set to "false", the cache will not be read nor written | no | true |
| cache_write | If set to "false", the cache will not be written | no | true |
| cache_check_hash | Whether or not to hash the cache contents to check if the cache should be written; this could have an extra cost, but could be interesting if the contents of the cache are large (i.e. many tools) | no | true |
| cache_key_prefix | The prefix to use for the cache key; if changed, the cache will be invalidated | no | omni-v0 |
| github_token | The GitHub token to use to make API calls; if not specified, the action will use unauthenticated calls, which have a lower rate limit | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| cache-hit | Whether the cache was hit or not |
| version | The version of omni that was installed |
| failure-reason | The operation and reason for failure if the action failed (format: "operation: error message") |