GitHub Action
omni setup action
v0.0.4
Latest version
This GitHub Action installs omni on a GitHub Actions
runner, and optionally runs omni up
to setup dependencies.
To use this action, add the following step to your GitHub Actions workflow:
steps:
- name: Install omni
uses: omnicli/setup-action@v0
with:
up: true
- name: Show omni status
shell: bash
run: omni status
By default, the action installs the latest version of omni. You can specify the version of omni to install using the version input:
steps:
- name: Install omni
uses: omncli/setup-action@v0
with:
version: 0.0.23
Parameter | Description | Default |
---|---|---|
version |
The version of omni to install | latest |
up |
Whether or not to run omni up after installing omni |
false |
up_args |
Additional arguments to pass to omni up |
null |
cache |
Cache omni's environment using GitHub's cache | true |
cache_write |
Whether or not to disable the cache write, while still allowing cache reads | true |
cache_check_hash |
Whether or not to check the hash of the cache contents before saving the cache, to save on transfer times if the cache is large | true |
cache_key_prefix |
The cache key prefix to use; if changed, will invalidate any pre-existing cache | omni |
This project is licensed under the MIT License. See the LICENSE file for details.